lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 9 Dec 2021 19:06:48 +0800
From:   kernel test robot <lkp@...el.com>
To:     Stephen Boyd <sboyd@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>,
        Arnd Bergmann <arnd@...db.de>
Subject: drivers/spi/spi-sh-msiof.c:1072:34: warning: unused variable
 'sh_msiof_match'

Hi Stephen,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2a987e65025e2b79c6d453b78cb5985ac6e5eb26
commit: bbd7ffdbef6888459f301c5889f3b14ada38b913 clk: Allow the common clk framework to be selectable
date:   1 year, 7 months ago
config: hexagon-buildonly-randconfig-r003-20211209 (https://download.01.org/0day-ci/archive/20211209/202112091948.lD9JYOeh-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
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=bbd7ffdbef6888459f301c5889f3b14ada38b913
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout bbd7ffdbef6888459f301c5889f3b14ada38b913
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/mmc/host/ drivers/spi/

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:1072: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 +1072 drivers/spi/spi-sh-msiof.c

50a7e23f536779 Geert Uytterhoeven 2014-02-25  1071  
50a7e23f536779 Geert Uytterhoeven 2014-02-25 @1072  static const struct of_device_id sh_msiof_match[] = {
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1073  	{ .compatible = "renesas,sh-mobile-msiof", .data = &sh_data },
bdacfc7b6216dd Fabrizio Castro    2017-09-25  1074  	{ .compatible = "renesas,msiof-r8a7743",   .data = &rcar_gen2_data },
bdacfc7b6216dd Fabrizio Castro    2017-09-25  1075  	{ .compatible = "renesas,msiof-r8a7745",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1076  	{ .compatible = "renesas,msiof-r8a7790",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1077  	{ .compatible = "renesas,msiof-r8a7791",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1078  	{ .compatible = "renesas,msiof-r8a7792",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1079  	{ .compatible = "renesas,msiof-r8a7793",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1080  	{ .compatible = "renesas,msiof-r8a7794",   .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1081  	{ .compatible = "renesas,rcar-gen2-msiof", .data = &rcar_gen2_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1082  	{ .compatible = "renesas,msiof-r8a7796",   .data = &rcar_gen3_data },
61a8dec502b873 Geert Uytterhoeven 2017-07-12  1083  	{ .compatible = "renesas,rcar-gen3-msiof", .data = &rcar_gen3_data },
264c3e8de4fbda Simon Horman       2016-12-20  1084  	{ .compatible = "renesas,sh-msiof",        .data = &sh_data }, /* Deprecated */
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1085  	{},
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1086  };
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1087  MODULE_DEVICE_TABLE(of, sh_msiof_match);
50a7e23f536779 Geert Uytterhoeven 2014-02-25  1088  

:::::: The code at line 1072 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ