linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/mtd/nand/raw/ams-delta.c:373:34: warning: unused variable 'gpio_nand_of_id_table'
@ 2020-06-29 13:14 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-29 13:14 UTC (permalink / raw)
  To: Janusz Krzysztofik
  Cc: kbuild-all, clang-built-linux, linux-kernel, Miquel Raynal

[-- Attachment #1: Type: text/plain, Size: 1725 bytes --]

Hi Janusz,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
commit: 7c2f66a960fccc165d0b6c594f40f0ad3edfc61f mtd: rawnand: ams-delta: Add module device tables
date:   4 months ago
config: arm-randconfig-r012-20200629 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a28d38a6bca1726d56c9b373f4c7dc5264fc7716)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git checkout 7c2f66a960fccc165d0b6c594f40f0ad3edfc61f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/mtd/nand/raw/ams-delta.c:373:34: warning: unused variable 'gpio_nand_of_id_table' [-Wunused-const-variable]
   static const struct of_device_id gpio_nand_of_id_table[] = {
                                    ^
   1 warning generated.

vim +/gpio_nand_of_id_table +373 drivers/mtd/nand/raw/ams-delta.c

   372	
 > 373	static const struct of_device_id gpio_nand_of_id_table[] = {
   374		{
   375			/* sentinel */
   376		},
   377	};
   378	MODULE_DEVICE_TABLE(of, gpio_nand_of_id_table);
   379	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33276 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/mtd/nand/raw/ams-delta.c:373:34: warning: unused variable 'gpio_nand_of_id_table'
@ 2020-05-28 13:12 kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-28 13:12 UTC (permalink / raw)
  To: Janusz Krzysztofik
  Cc: kbuild-all, clang-built-linux, linux-kernel, Miquel Raynal

[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b0c3ba31be3e45a130e13b278cf3b90f69bda6f6
commit: 7c2f66a960fccc165d0b6c594f40f0ad3edfc61f mtd: rawnand: ams-delta: Add module device tables
date:   3 months ago
config: x86_64-randconfig-a004-20200528 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2d068e534f1671459e1b135852c1b3c10502e929)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 7c2f66a960fccc165d0b6c594f40f0ad3edfc61f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/mtd/nand/raw/ams-delta.c:373:34: warning: unused variable 'gpio_nand_of_id_table' [-Wunused-const-variable]
static const struct of_device_id gpio_nand_of_id_table[] = {
^
1 warning generated.

vim +/gpio_nand_of_id_table +373 drivers/mtd/nand/raw/ams-delta.c

   372	
 > 373	static const struct of_device_id gpio_nand_of_id_table[] = {
   374		{
   375			/* sentinel */
   376		},
   377	};
   378	MODULE_DEVICE_TABLE(of, gpio_nand_of_id_table);
   379	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40489 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-29 18:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 13:14 drivers/mtd/nand/raw/ams-delta.c:373:34: warning: unused variable 'gpio_nand_of_id_table' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-05-28 13:12 kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).