Re: [PATCH 3/7] of: reserved_mem: switch to ops based OF_DECLARE()
From: kernel test robot
Date: Sat Mar 14 2026 - 11:21:00 EST
Hi Marek,
kernel test robot noticed the following build errors:
[auto build test ERROR on robh/for-next]
[also build test ERROR on tegra/for-next akpm-mm/mm-everything linus/master v7.0-rc3 next-20260311]
[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/Marek-Szyprowski/of-reserved_mem-remove-fdt-node-from-the-structure/20260314-023123
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20260313150802.1121442-4-m.szyprowski%40samsung.com
patch subject: [PATCH 3/7] of: reserved_mem: switch to ops based OF_DECLARE()
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260314/202603142347.aops46Bf-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260314/202603142347.aops46Bf-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/202603142347.aops46Bf-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/memory/tegra/tegra210-emc-table.c: In function 'tegra210_emc_table_init':
>> drivers/memory/tegra/tegra210-emc-table.c:79:22: error: 'tegra210_emc_table_ops' undeclared (first use in this function); did you mean 'tegra210_emc_table_init'?
79 | rmem->ops = &tegra210_emc_table_ops;
| ^~~~~~~~~~~~~~~~~~~~~~
| tegra210_emc_table_init
drivers/memory/tegra/tegra210-emc-table.c:79:22: note: each undeclared identifier is reported only once for each function it appears in
vim +79 drivers/memory/tegra/tegra210-emc-table.c
10de21148f7d28 Joseph Lo 2019-05-29 72
6888259214366b Marek Szyprowski 2026-03-13 73 static int tegra210_emc_table_init(unsigned long node,
6888259214366b Marek Szyprowski 2026-03-13 74 struct reserved_mem *rmem)
10de21148f7d28 Joseph Lo 2019-05-29 75 {
10de21148f7d28 Joseph Lo 2019-05-29 76 pr_debug("Tegra210 EMC table at %pa, size %lu bytes\n", &rmem->base,
10de21148f7d28 Joseph Lo 2019-05-29 77 (unsigned long)rmem->size);
10de21148f7d28 Joseph Lo 2019-05-29 78
10de21148f7d28 Joseph Lo 2019-05-29 @79 rmem->ops = &tegra210_emc_table_ops;
10de21148f7d28 Joseph Lo 2019-05-29 80
10de21148f7d28 Joseph Lo 2019-05-29 81 return 0;
10de21148f7d28 Joseph Lo 2019-05-29 82 }
f954eaa20bd915 Marek Szyprowski 2026-03-13 83
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki