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]
Message-ID: <202212261728.d5BHXzJz-lkp@intel.com>
Date:   Mon, 26 Dec 2022 17:10:28 +0800
From:   kernel test robot <lkp@...el.com>
To:     Matt Flax <flatmax@...tmax.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Mark Brown <broonie@...nel.org>
Subject: sound/soc/codecs/src4xxx-i2c.c:28:34: warning: 'src4xxx_of_match'
 defined but not used

Hi Matt,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1b929c02afd37871d5afb9d498426f83432e71c2
commit: 4e6bedd3c396014ba70de2b4c9995c8e024e82b3 ASoC: codecs: add support for the TI SRC4392 codec
date:   4 months ago
config: i386-randconfig-a016-20221226
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4e6bedd3c396014ba70de2b4c9995c8e024e82b3
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4e6bedd3c396014ba70de2b4c9995c8e024e82b3
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        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/src4xxx-i2c.c:28:34: warning: 'src4xxx_of_match' defined but not used [-Wunused-const-variable=]
      28 | static const struct of_device_id src4xxx_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~~


vim +/src4xxx_of_match +28 sound/soc/codecs/src4xxx-i2c.c

    27	
  > 28	static const struct of_device_id src4xxx_of_match[] = {
    29		{ .compatible = "ti,src4392", },
    30		{ }
    31	};
    32	MODULE_DEVICE_TABLE(of, src4xxx_of_match);
    33	
    34	

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ