All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: AlvinZhou <alvinzhou@mxic.com.tw>
Cc: oe-kbuild-all@lists.linux.dev, Miquel Raynal <miquel.raynal@bootlin.com>
Subject: [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'?
Date: Thu, 22 Aug 2024 17:26:59 +0800	[thread overview]
Message-ID: <202408221714.bCSxM2Rc-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-08-22  9:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202408221714.bCSxM2Rc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alvinzhou@mxic.com.tw \
    --cc=miquel.raynal@bootlin.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.