All of lore.kernel.org
 help / color / mirror / Atom feed
* [miquelraynal:macronix/nand-next/spi-nand-cont-read 3/20] drivers/spi/spi-mxic-uefc.c:983:25: error: 'mxic_uefc_of_ids' undeclared here (not in a function); did you mean 'mxic_uefc_spi_of_ids'?
@ 2024-08-22  9:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-22  9:26 UTC (permalink / raw)
  To: AlvinZhou; +Cc: oe-kbuild-all, Miquel Raynal

tree:   https://github.com/miquelraynal/linux-0day.git macronix/nand-next/spi-nand-cont-read
head:   a84bb95001ed7e4eaed415147f3ed18063df8ff7
commit: 3a117622bcdd9cc7e4747224858f669a5209a35d [3/20] spi: Add support for MXIC UEFC SPI controller
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240822/202408221714.bCSxM2Rc-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240822/202408221714.bCSxM2Rc-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408221714.bCSxM2Rc-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/spi/spi-mxic-uefc.c:8:
>> drivers/spi/spi-mxic-uefc.c:983:25: error: 'mxic_uefc_of_ids' undeclared here (not in a function); did you mean 'mxic_uefc_spi_of_ids'?
     983 | MODULE_DEVICE_TABLE(of, mxic_uefc_of_ids);
         |                         ^~~~~~~~~~~~~~~~
   include/linux/module.h:250:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
     250 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |               ^~~~
>> include/linux/module.h:250:21: error: '__mod_of__mxic_uefc_of_ids_device_table' aliased to undefined symbol 'mxic_uefc_of_ids'
     250 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |                     ^~~~~~
   drivers/spi/spi-mxic-uefc.c:983:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
     983 | MODULE_DEVICE_TABLE(of, mxic_uefc_of_ids);
         | ^~~~~~~~~~~~~~~~~~~


vim +983 drivers/spi/spi-mxic-uefc.c

   978	
   979	static const struct of_device_id mxic_uefc_spi_of_ids[] = {
   980	    { .compatible = "mxic-uefc,uefc-spi", },
   981	    { /* sentinel */ }
   982	};
 > 983	MODULE_DEVICE_TABLE(of, mxic_uefc_of_ids);
   984	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-22  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22  9:26 [miquelraynal:macronix/nand-next/spi-nand-cont-read 3/20] drivers/spi/spi-mxic-uefc.c:983:25: error: 'mxic_uefc_of_ids' undeclared here (not in a function); did you mean 'mxic_uefc_spi_of_ids'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.