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:   Tue, 11 Oct 2022 10:55:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Mark Brown <broonie@...nel.org>,
        smit shah <smit.shah@...el.com>,
        "Ap, Kamal" <kamal.ap@...el.corp-partner.google.com>,
        Ben Zhang <benzh@...omium.org>
Subject: [jsarha:topic/chromeos-4.19-s0ix 3031/9999]
 sound/soc/codecs/da7219.c:1584:34: warning: 'da7219_of_match' defined but
 not used

tree:   https://github.com/jsarha/linux topic/chromeos-4.19-s0ix
head:   430bdaa0a8c38697780f45a148964d71951df11f
commit: 4e9d2a90d68ed8eafb7273957f67b0047b9fa9f3 [3031/9999] BACKPORT: FROMGIT: ASoC: Intel: Skylake: Add more platform granularity
config: i386-buildonly-randconfig-r001-20221010
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/jsarha/linux/commit/4e9d2a90d68ed8eafb7273957f67b0047b9fa9f3
        git remote add jsarha https://github.com/jsarha/linux
        git fetch --no-tags jsarha topic/chromeos-4.19-s0ix
        git checkout 4e9d2a90d68ed8eafb7273957f67b0047b9fa9f3
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 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/da7219.c:1584:34: warning: 'da7219_of_match' defined but not used [-Wunused-const-variable=]
    1584 | static const struct of_device_id da7219_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~
--
>> sound/soc/codecs/rt5514-spi.c:501:34: warning: 'rt5514_of_match' defined but not used [-Wunused-const-variable=]
     501 | static const struct of_device_id rt5514_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~
--
>> sound/soc/codecs/rt5660.c:1241:34: warning: 'rt5660_of_match' defined but not used [-Wunused-const-variable=]
    1241 | static const struct of_device_id rt5660_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~


vim +/da7219_of_match +1584 sound/soc/codecs/da7219.c

6d817c0e9fd753 Adam Thomson 2015-09-29  1578  
6d817c0e9fd753 Adam Thomson 2015-09-29  1579  
6d817c0e9fd753 Adam Thomson 2015-09-29  1580  /*
a01b89336f7a2f Adam Thomson 2016-06-21  1581   * DT/ACPI
6d817c0e9fd753 Adam Thomson 2015-09-29  1582   */
6d817c0e9fd753 Adam Thomson 2015-09-29  1583  
6d817c0e9fd753 Adam Thomson 2015-09-29 @1584  static const struct of_device_id da7219_of_match[] = {
6d817c0e9fd753 Adam Thomson 2015-09-29  1585  	{ .compatible = "dlg,da7219", },
6d817c0e9fd753 Adam Thomson 2015-09-29  1586  	{ }
6d817c0e9fd753 Adam Thomson 2015-09-29  1587  };
6d817c0e9fd753 Adam Thomson 2015-09-29  1588  MODULE_DEVICE_TABLE(of, da7219_of_match);
6d817c0e9fd753 Adam Thomson 2015-09-29  1589  

:::::: The code at line 1584 was first introduced by commit
:::::: 6d817c0e9fd7536be76690bfdee88e8a81c16f7d ASoC: codecs: Add da7219 codec driver

:::::: TO: Adam Thomson <Adam.Thomson.Opensource@...semi.com>
:::::: CC: Mark Brown <broonie@...nel.org>

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ