LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* drivers/mtd/nand/raw/omap2.c:2302:34: warning: unused variable 'omap_nand_ids'
@ 2021-08-04 20:32 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-04 20:32 UTC (permalink / raw)
To: Sid Manning
Cc: clang-built-linux, kbuild-all, linux-kernel, Brian Cain,
Nick Desaulniers
[-- Attachment #1: Type: text/plain, Size: 2774 bytes --]
Hi Sid,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d5ad8ec3cfb56a017de6a784835666475b4be349
commit: 788dcee0306e1bdbae1a76d1b3478bb899c5838e Hexagon: fix build errors
date: 3 months ago
config: hexagon-buildonly-randconfig-r006-20210805 (attached as .config)
compiler: clang version 12.0.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=788dcee0306e1bdbae1a76d1b3478bb899c5838e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 788dcee0306e1bdbae1a76d1b3478bb899c5838e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon
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/omap2.c:2302:34: warning: unused variable 'omap_nand_ids' [-Wunused-const-variable]
static const struct of_device_id omap_nand_ids[] = {
^
1 warning generated.
--
>> sound/soc/codecs/adau1977-spi.c:58:34: warning: unused variable 'adau1977_spi_of_match' [-Wunused-const-variable]
static const struct of_device_id adau1977_spi_of_match[] = {
^
1 warning generated.
vim +/omap_nand_ids +2302 drivers/mtd/nand/raw/omap2.c
67ce04bf2746f8 drivers/mtd/nand/omap2.c Vimal Singh 2009-05-12 2301
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros 2014-05-21 @2302 static const struct of_device_id omap_nand_ids[] = {
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros 2014-05-21 2303 { .compatible = "ti,omap2-nand", },
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros 2014-05-21 2304 {},
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros 2014-05-21 2305 };
b156b7f2169bb4 drivers/mtd/nand/omap2.c Javier Martinez Canillas 2016-10-17 2306 MODULE_DEVICE_TABLE(of, omap_nand_ids);
c9711ec5250b22 drivers/mtd/nand/omap2.c Roger Quadros 2014-05-21 2307
:::::: The code at line 2302 was first introduced by commit
:::::: c9711ec5250b22fd94e9b34c17c095e001a90e66 mtd: nand: omap: Clean up device tree support
:::::: TO: Roger Quadros <rogerq@ti.com>
:::::: CC: Roger Quadros <rogerq@ti.com>
---
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: 27522 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-04 20:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 20:32 drivers/mtd/nand/raw/omap2.c:2302:34: warning: unused variable 'omap_nand_ids' kernel 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).