mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [broonie-misc:asoc-6.1 3/80] sound/soc/codecs/src4xxx-i2c.c:28:34: warning: unused variable 'src4xxx_of_match'
@ 2022-09-02 23:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-02 23:11 UTC (permalink / raw)
  To: Matt Flax; +Cc: llvm, kbuild-all, linux-kernel, Mark Brown

Hi Matt,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git asoc-6.1
head:   376be51caf8871419bbcbb755e1e615d30dc3153
commit: 4e6bedd3c396014ba70de2b4c9995c8e024e82b3 [3/80] ASoC: codecs: add support for the TI SRC4392 codec
config: hexagon-randconfig-r045-20220903 (https://download.01.org/0day-ci/archive/20220903/202209030710.XtZRjxNg-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c55b41d5199d2394dd6cdb8f52180d8b81d809d4)
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/broonie/misc.git/commit/?id=4e6bedd3c396014ba70de2b4c9995c8e024e82b3
        git remote add broonie-misc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git
        git fetch --no-tags broonie-misc asoc-6.1
        git checkout 4e6bedd3c396014ba70de2b4c9995c8e024e82b3
        # 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@intel.com>

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/src4xxx-i2c.c:28:34: warning: unused variable 'src4xxx_of_match' [-Wunused-const-variable]
   static const struct of_device_id src4xxx_of_match[] = {
                                    ^
   1 warning generated.


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-02 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-02 23:11 [broonie-misc:asoc-6.1 3/80] sound/soc/codecs/src4xxx-i2c.c:28:34: warning: unused variable 'src4xxx_of_match' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®