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, 15 Dec 2022 21:36:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Krzysztof Kozlowski <krzk@...nel.org>
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-kernel@...r.kernel.org, Mark Brown <broonie@...nel.org>
Subject: sound/soc/codecs/lochnagar-sc.c:247:34: warning: unused variable
 'lochnagar_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:   041fae9c105ae342a4245cf1e0dc56a23fbb9d3c
commit: 5b7f4e5de61ba8c44317718936864da29eeba62a ASoC: codecs: allow compile testing without MFD drivers
date:   4 months ago
config: hexagon-randconfig-r014-20221215
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98b13979fb05f3ed288a900deb843e7b27589e58)
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=5b7f4e5de61ba8c44317718936864da29eeba62a
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 5b7f4e5de61ba8c44317718936864da29eeba62a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash sound/soc/codecs/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/lochnagar-sc.c:247:34: warning: unused variable 'lochnagar_of_match' [-Wunused-const-variable]
   static const struct of_device_id lochnagar_of_match[] = {
                                    ^
   1 warning generated.


vim +/lochnagar_of_match +247 sound/soc/codecs/lochnagar-sc.c

16123412a6283bc Piotr Stankiewicz 2019-03-20  246  
16123412a6283bc Piotr Stankiewicz 2019-03-20 @247  static const struct of_device_id lochnagar_of_match[] = {
16123412a6283bc Piotr Stankiewicz 2019-03-20  248  	{ .compatible = "cirrus,lochnagar2-soundcard" },
16123412a6283bc Piotr Stankiewicz 2019-03-20  249  	{}
16123412a6283bc Piotr Stankiewicz 2019-03-20  250  };
16123412a6283bc Piotr Stankiewicz 2019-03-20  251  MODULE_DEVICE_TABLE(of, lochnagar_of_match);
16123412a6283bc Piotr Stankiewicz 2019-03-20  252  

:::::: The code at line 247 was first introduced by commit
:::::: 16123412a6283bcf956f1a377f2e799a79c2b439 ASoC: lochnagar: Add driver to support Lochnagar 2 sound card

:::::: TO: Piotr Stankiewicz <piotrs@...nsource.cirrus.com>
:::::: CC: Mark Brown <broonie@...nel.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (144202 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ