All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable 'samsung_wm8994_of_match'
Date: Fri, 18 Jun 2021 14:43:21 +0800	[thread overview]
Message-ID: <202106181415.dSL6NG5B-lkp@intel.com> (raw)

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

Hi Jonathan,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fd0aa1a4567d0f09e1bfe367a950b004f99ac290
commit: 7a3a7671fa6c7e90aff5f4242add2a40587b85ef ASoC: samsung: Add driver for Aries boards
date:   1 year ago
config: x86_64-randconfig-r006-20210618 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7a3a7671fa6c7e90aff5f4242add2a40587b85ef
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7a3a7671fa6c7e90aff5f4242add2a40587b85ef
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

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

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Jonathan Bakker <xc-racer2@live.ca>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>
Subject: sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable 'samsung_wm8994_of_match'
Date: Fri, 18 Jun 2021 14:43:21 +0800	[thread overview]
Message-ID: <202106181415.dSL6NG5B-lkp@intel.com> (raw)

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

Hi Jonathan,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fd0aa1a4567d0f09e1bfe367a950b004f99ac290
commit: 7a3a7671fa6c7e90aff5f4242add2a40587b85ef ASoC: samsung: Add driver for Aries boards
date:   1 year ago
config: x86_64-randconfig-r006-20210618 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7a3a7671fa6c7e90aff5f4242add2a40587b85ef
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7a3a7671fa6c7e90aff5f4242add2a40587b85ef
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

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

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

             reply	other threads:[~2021-06-18  6:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  6:43 kernel test robot [this message]
2021-06-18  6:43 ` sound/soc/samsung/aries_wm8994.c:525:34: warning: unused variable 'samsung_wm8994_of_match' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-02-14  9:58 kernel test robot
2022-02-14  9:58 ` kernel test robot
2021-12-27 23:55 kernel test robot
2021-12-27 23:55 ` kernel test robot
2021-06-27 21:27 kernel test robot
2021-06-27 21:27 ` kernel test robot
2021-01-16 20:32 kernel test robot
2021-01-16 20:32 ` kernel test robot
2020-09-27  6:03 kernel test robot
2020-09-27  6:03 ` kernel test robot
2020-09-27  4:07 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=202106181415.dSL6NG5B-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 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.