Hi Miquel, kernel test robot noticed the following build errors: [auto build test ERROR on robh/for-next] [also build test ERROR on char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus linus/master v6.6-rc4 next-20231006] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Miquel-Raynal/of-device-Export-of_device_make_bus_id/20231006-000111 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20231005155907.2701706-6-miquel.raynal%40bootlin.com patch subject: [PATCH v12 5/7] nvmem: core: Rework layouts to become regular devices config: sh-se7705_defconfig (https://download.01.org/0day-ci/archive/20231008/202310082134.KFshrVpM-lkp@xxxxxxxxx/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231008/202310082134.KFshrVpM-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202310082134.KFshrVpM-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from drivers/nvmem/core.c:22: drivers/nvmem/internals.h: In function 'nvmem_destroy_layout': >> drivers/nvmem/internals.h:54:47: error: no return statement in function returning non-void [-Werror=return-type] 54 | static inline int nvmem_destroy_layout(struct nvmem_device *nvmem) { } | ^~~~~~~~~~~~ cc1: some warnings being treated as errors vim +54 drivers/nvmem/internals.h 53 > 54 static inline int nvmem_destroy_layout(struct nvmem_device *nvmem) { } 55 #endif /* CONFIG_OF */ 56 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki