[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006292103.g3UFiYVB%lkp@intel.com>
Date: Mon, 29 Jun 2020 21:14:06 +0800
From: kernel test robot <lkp@...el.com>
To: Janusz Krzysztofik <jmkrzyszt@...il.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org,
Miquel Raynal <miquel.raynal@...tlin.com>
Subject: drivers/mtd/nand/raw/ams-delta.c:373:34: warning: unused variable
'gpio_nand_of_id_table'
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@...el.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
Download attachment ".config.gz" of type "application/gzip" (33276 bytes)
Powered by blists - more mailing lists