linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org
Subject: sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable 'samsung_wm8994_of_match'
Date: Sun, 17 Jan 2021 04:32:40 +0800	[thread overview]
Message-ID: <202101170432.eaMSB3Ef-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1d94330a437a573cfdf848f6743b1ed169242c8a
commit: 84569f329f7fcb40b7b1860f273b2909dabf2a2b Merge remote-tracking branch 'asoc/for-5.9' into asoc-next
date:   6 months ago
config: arm-randconfig-r033-20210117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d7bc3b7ce23b664d6620cdc32370a8614523ca2f)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=84569f329f7fcb40b7b1860f273b2909dabf2a2b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 84569f329f7fcb40b7b1860f273b2909dabf2a2b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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

All warnings (new ones prefixed by >>):

>> sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable 'samsung_wm8994_of_match' [-Wunused-const-variable]
   static const struct of_device_id samsung_wm8994_of_match[] = {
                                    ^
   1 warning generated.


vim +/samsung_wm8994_of_match +525 sound/soc/samsung/aries_wm8994.c

7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  524  
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14 @525  static const struct of_device_id samsung_wm8994_of_match[] = {
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  526  	{
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  527  		.compatible = "samsung,fascinate4g-wm8994",
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  528  		.data = &fascinate4g_variant,
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  529  	},
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  530  	{
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  531  		.compatible = "samsung,aries-wm8994",
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  532  		.data = &aries_variant,
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  533  	},
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  534  	{ /* sentinel */ },
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  535  };
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  536  MODULE_DEVICE_TABLE(of, samsung_wm8994_of_match);
7a3a7671fa6c7e90 Jonathan Bakker 2020-06-14  537  

:::::: The code at line 525 was first introduced by commit
:::::: 7a3a7671fa6c7e90aff5f4242add2a40587b85ef ASoC: samsung: Add driver for Aries boards

:::::: TO: Jonathan Bakker <xc-racer2@live.ca>
:::::: CC: Mark Brown <broonie@kernel.org>

---
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: 27605 bytes --]

             reply	other threads:[~2021-01-16 20:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16 20:32 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-14  9:58 sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable 'samsung_wm8994_of_match' kernel test robot
2021-12-27 23:55 kernel test robot
2021-06-27 21:27 kernel test robot
2021-06-18  6:43 kernel test robot
2020-09-27  6:03 kernel test robot
2020-09-27  4:07 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202101170432.eaMSB3Ef-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).