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:   Sun, 17 Jan 2021 04:32:40 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mark Brown <broonie@...nel.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org
Subject: sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable
 'samsung_wm8994_of_match'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1d94330a437a573cfdf848f6743b1ed169242c8a
commit: 84569f329f7fcb40b7b1860f273b2909dabf2a2b Merge remote-tracking branch 'asoc/for-5.9' into asoc-next
date:   6 months ago
config: arm-randconfig-r033-20210117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d7bc3b7ce23b664d6620cdc32370a8614523ca2f)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=84569f329f7fcb40b7b1860f273b2909dabf2a2b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 84569f329f7fcb40b7b1860f273b2909dabf2a2b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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 >>):

>> sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable 'samsung_wm8994_of_match' [-Wunused-const-variable]
   static const struct of_device_id samsung_wm8994_of_match[] = {
                                    ^
   1 warning generated.


vim +/samsung_wm8994_of_match +525 sound/soc/samsung/aries_wm8994.c

7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  524  
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14 @525  static const struct of_device_id samsung_wm8994_of_match[] = {
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  526  	{
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  527  		.compatible = "samsung,fascinate4g-wm8994",
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  528  		.data = &fascinate4g_variant,
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  529  	},
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  530  	{
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  531  		.compatible = "samsung,aries-wm8994",
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  532  		.data = &aries_variant,
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  533  	},
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  534  	{ /* sentinel */ },
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  535  };
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  536  MODULE_DEVICE_TABLE(of, samsung_wm8994_of_match);
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  537  

:::::: The code at line 525 was first introduced by commit
:::::: 7a3a7671fa6c7e90aff5f4242add2a40587b85ef ASoC: samsung: Add driver for Aries boards

:::::: TO: Jonathan Bakker <xc-racer2@...e.ca>
:::::: CC: Mark Brown <broonie@...nel.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" (27605 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ