All of lore.kernel.org
 help / color / mirror / Atom feed
* sound/soc/codecs/jz4770.c:930:34: warning: unused variable 'jz4770_codec_of_matches'
@ 2020-05-22 17:35 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-22 17:35 UTC (permalink / raw)
  To: Paul Cercueil
  Cc: kbuild-all, clang-built-linux, linux-kernel, Mark Brown,
	Maarten ter Huurne

[-- Attachment #1: Type: text/plain, Size: 1989 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4286d192c803571e8ca43b0f1f8ea04d663a278a
commit: 2159a6810e96c38a469c39df8e109edb7232d3c9 ASoC: codecs: Add jz4770-codec driver
date:   4 months ago
config: mips-randconfig-r014-20200522 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        git checkout 2159a6810e96c38a469c39df8e109edb7232d3c9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

sound/soc/codecs/jz4770.c:306:35: warning: unused variable 'mic_boost_tlv' [-Wunused-const-variable]
static const DECLARE_TLV_DB_SCALE(mic_boost_tlv, 0, 400, 0);
^
include/sound/tlv.h:22:31: note: expanded from macro 'DECLARE_TLV_DB_SCALE'
#define DECLARE_TLV_DB_SCALE            SNDRV_CTL_TLVD_DECLARE_DB_SCALE
^
>> sound/soc/codecs/jz4770.c:930:34: warning: unused variable 'jz4770_codec_of_matches' [-Wunused-const-variable]
static const struct of_device_id jz4770_codec_of_matches[] = {
^
2 warnings generated.

vim +/jz4770_codec_of_matches +930 sound/soc/codecs/jz4770.c

   929	
 > 930	static const struct of_device_id jz4770_codec_of_matches[] = {
   931		{ .compatible = "ingenic,jz4770-codec", },
   932		{ /* sentinel */ }
   933	};
   934	MODULE_DEVICE_TABLE(of, jz4770_codec_of_matches);
   935	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32475 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* sound/soc/codecs/jz4770.c:930:34: warning: unused variable 'jz4770_codec_of_matches'
@ 2020-05-22 17:35 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-22 17:35 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2035 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4286d192c803571e8ca43b0f1f8ea04d663a278a
commit: 2159a6810e96c38a469c39df8e109edb7232d3c9 ASoC: codecs: Add jz4770-codec driver
date:   4 months ago
config: mips-randconfig-r014-20200522 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        git checkout 2159a6810e96c38a469c39df8e109edb7232d3c9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

sound/soc/codecs/jz4770.c:306:35: warning: unused variable 'mic_boost_tlv' [-Wunused-const-variable]
static const DECLARE_TLV_DB_SCALE(mic_boost_tlv, 0, 400, 0);
^
include/sound/tlv.h:22:31: note: expanded from macro 'DECLARE_TLV_DB_SCALE'
#define DECLARE_TLV_DB_SCALE            SNDRV_CTL_TLVD_DECLARE_DB_SCALE
^
>> sound/soc/codecs/jz4770.c:930:34: warning: unused variable 'jz4770_codec_of_matches' [-Wunused-const-variable]
static const struct of_device_id jz4770_codec_of_matches[] = {
^
2 warnings generated.

vim +/jz4770_codec_of_matches +930 sound/soc/codecs/jz4770.c

   929	
 > 930	static const struct of_device_id jz4770_codec_of_matches[] = {
   931		{ .compatible = "ingenic,jz4770-codec", },
   932		{ /* sentinel */ }
   933	};
   934	MODULE_DEVICE_TABLE(of, jz4770_codec_of_matches);
   935	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32475 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-22 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-22 17:35 sound/soc/codecs/jz4770.c:930:34: warning: unused variable 'jz4770_codec_of_matches' kbuild test robot
2020-05-22 17:35 ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.