[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108041907.J88rdV2n-lkp@intel.com>
Date: Wed, 4 Aug 2021 19:55:19 +0800
From: kernel test robot <lkp@...el.com>
To: Sid Manning <sidneym@...eaurora.org>
Cc: clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Brian Cain <bcain@...eaurora.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: drivers/spi/spi-sh-msiof.c:1076:34: warning: unused variable
'sh_msiof_match'
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-randconfig-r024-20210804 (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@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/spi/spi-sh-msiof.c:1076:34: warning: unused variable 'sh_msiof_match' [-Wunused-const-variable]
static const struct of_device_id sh_msiof_match[] = {
^
1 warning generated.
vim +/sh_msiof_match +1076 drivers/spi/spi-sh-msiof.c
50a7e23f536779 Geert Uytterhoeven 2014-02-25 1075
50a7e23f536779 Geert Uytterhoeven 2014-02-25 @1076 static const struct of_device_id sh_msiof_match[] = {
50a7e23f536779 Geert Uytterhoeven 2014-02-25 1077 { .compatible = "renesas,sh-mobile-msiof", .data = &sh_data },
bdacfc7b6216dd Fabrizio Castro 2017-09-25 1078 { .compatible = "renesas,msiof-r8a7743", .data = &rcar_gen2_data },
bdacfc7b6216dd Fabrizio Castro 2017-09-25 1079 { .compatible = "renesas,msiof-r8a7745", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1080 { .compatible = "renesas,msiof-r8a7790", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1081 { .compatible = "renesas,msiof-r8a7791", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1082 { .compatible = "renesas,msiof-r8a7792", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1083 { .compatible = "renesas,msiof-r8a7793", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1084 { .compatible = "renesas,msiof-r8a7794", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1085 { .compatible = "renesas,rcar-gen2-msiof", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1086 { .compatible = "renesas,msiof-r8a7796", .data = &rcar_gen3_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12 1087 { .compatible = "renesas,rcar-gen3-msiof", .data = &rcar_gen3_data },
264c3e8de4fbda Simon Horman 2016-12-20 1088 { .compatible = "renesas,sh-msiof", .data = &sh_data }, /* Deprecated */
50a7e23f536779 Geert Uytterhoeven 2014-02-25 1089 {},
50a7e23f536779 Geert Uytterhoeven 2014-02-25 1090 };
50a7e23f536779 Geert Uytterhoeven 2014-02-25 1091 MODULE_DEVICE_TABLE(of, sh_msiof_match);
50a7e23f536779 Geert Uytterhoeven 2014-02-25 1092
:::::: The code at line 1076 was first introduced by commit
:::::: 50a7e23f53677918bf521b09ce9bb20fb87cd175 spi: sh-msiof: Move default FIFO sizes to device ID data
:::::: TO: Geert Uytterhoeven <geert+renesas@...ux-m68k.org>
:::::: CC: Mark Brown <broonie@...aro.org>
---
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" (24552 bytes)
Powered by blists - more mailing lists