From: kernel test robot <lkp@intel.com>
To: Sid Manning <sidneym@codeaurora.org>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Brian Cain <bcain@codeaurora.org>,
Nick Desaulniers <ndesaulniers@google.com>
Subject: drivers/mtd/nand/raw/omap2.c:2302:34: warning: unused variable 'omap_nand_ids'
Date: Thu, 5 Aug 2021 04:32:26 +0800 [thread overview]
Message-ID: <202108050407.Ckd2r5wT-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-08-04 20:33 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=202108050407.Ckd2r5wT-lkp@intel.com \
--to=lkp@intel.com \
--cc=bcain@codeaurora.org \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ndesaulniers@google.com \
--cc=sidneym@codeaurora.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome