Re: [PATCH] nvmem: layouts: Add fixed-layout driver

From: kernel test robot

Date: Mon May 11 2026 - 11:10:17 EST


Hi Mathieu,

kernel test robot noticed the following build errors:

[auto build test ERROR on 7fd2df204f342fc17d1a0bfcd474b24232fb0f32]

url: https://github.com/intel-lab-lkp/linux/commits/Mathieu-Dubois-Briand/nvmem-layouts-Add-fixed-layout-driver/20260511-170834
base: 7fd2df204f342fc17d1a0bfcd474b24232fb0f32
patch link: https://lore.kernel.org/r/20260505-mathieu-nvmem-fixed-layout-v1-1-7f6ecbce108d%40bootlin.com
patch subject: [PATCH] nvmem: layouts: Add fixed-layout driver
config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260511/202605111648.gLUTeOnR-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260511/202605111648.gLUTeOnR-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/202605111648.gLUTeOnR-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld: drivers/nvmem/layouts/fixed-layout.o: in function `fixed_layout_layout_init':
>> drivers/nvmem/layouts/fixed-layout.c:47:(.init.text+0x10): undefined reference to `__nvmem_layout_driver_register'
ld: drivers/nvmem/layouts/fixed-layout.o: in function `fixed_layout_layout_exit':
>> drivers/nvmem/layouts/fixed-layout.c:47:(.exit.text+0x9): undefined reference to `nvmem_layout_driver_unregister'


vim +47 drivers/nvmem/layouts/fixed-layout.c

38
39 static struct nvmem_layout_driver fixed_layout_layout = {
40 .driver = {
41 .name = "fixed-layout",
42 .of_match_table = fixed_layout_of_match_table,
43 },
44 .probe = fixed_layout_probe,
45 .remove = fixed_layout_remove,
46 };
> 47 module_nvmem_layout_driver(fixed_layout_layout);
48

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki