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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202010261451.N9cm8bod-lkp@intel.com>
Date:   Mon, 26 Oct 2020 14:00:56 +0800
From:   kernel test robot <lkp@...el.com>
To:     Krzysztof Kozlowski <krzk@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Ulf Hansson <ulf.hansson@...aro.org>
Subject: drivers/mmc/host/sunxi-mmc.c:1181:34: warning: unused variable
 'sunxi_mmc_of_match'

Hi Krzysztof,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3650b228f83adda7e5ee532e2b90429c03f7b9ec
commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers
date:   7 weeks ago
config: x86_64-randconfig-r036-20201026 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project f2c25c70791de95d2466e09b5b58fc37f6ccd7a4)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54d8454436a205682bd89d66d8d9eedbc8452d15
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 54d8454436a205682bd89d66d8d9eedbc8452d15
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/mmc/host/sunxi-mmc.c:1181:34: warning: unused variable 'sunxi_mmc_of_match' [-Wunused-const-variable]
   static const struct of_device_id sunxi_mmc_of_match[] = {
                                    ^
   1 warning generated.

vim +/sunxi_mmc_of_match +1181 drivers/mmc/host/sunxi-mmc.c

4fb3ce07eafa9d Maxime Ripard 2017-01-27  1180  
86a93317ed71f9 Hans de Goede 2016-07-30 @1181  static const struct of_device_id sunxi_mmc_of_match[] = {
86a93317ed71f9 Hans de Goede 2016-07-30  1182  	{ .compatible = "allwinner,sun4i-a10-mmc", .data = &sun4i_a10_cfg },
86a93317ed71f9 Hans de Goede 2016-07-30  1183  	{ .compatible = "allwinner,sun5i-a13-mmc", .data = &sun5i_a13_cfg },
b465646ef41f2f Hans de Goede 2016-07-30  1184  	{ .compatible = "allwinner,sun7i-a20-mmc", .data = &sun7i_a20_cfg },
ac98caefe18ab8 Chen-Yu Tsai  2017-07-24  1185  	{ .compatible = "allwinner,sun8i-a83t-emmc", .data = &sun8i_a83t_emmc_cfg },
86a93317ed71f9 Hans de Goede 2016-07-30  1186  	{ .compatible = "allwinner,sun9i-a80-mmc", .data = &sun9i_a80_cfg },
e1b8dfd1b1c61b Icenowy Zheng 2016-08-05  1187  	{ .compatible = "allwinner,sun50i-a64-mmc", .data = &sun50i_a64_cfg },
4fb3ce07eafa9d Maxime Ripard 2017-01-27  1188  	{ .compatible = "allwinner,sun50i-a64-emmc", .data = &sun50i_a64_emmc_cfg },
86a93317ed71f9 Hans de Goede 2016-07-30  1189  	{ /* sentinel */ }
86a93317ed71f9 Hans de Goede 2016-07-30  1190  };
86a93317ed71f9 Hans de Goede 2016-07-30  1191  MODULE_DEVICE_TABLE(of, sunxi_mmc_of_match);
86a93317ed71f9 Hans de Goede 2016-07-30  1192  

:::::: The code at line 1181 was first introduced by commit
:::::: 86a93317ed71f9ad8bca7baff12930c47c235f80 mmc: sunxi: Introduce a sunxi_mmc_cfg struct

:::::: TO: Hans de Goede <hdegoede@...hat.com>
:::::: CC: Ulf Hansson <ulf.hansson@...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" (40739 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ