linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 4304/4582] drivers/hwmon/pmbus/mp2975.c:1069:34: warning: 'mp2975_of_match' defined but not used
Date: Fri, 7 Jun 2024 16:10:24 +0800	[thread overview]
Message-ID: <202406071658.Sq9UXHmz-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d35b2284e966c0bef3e2182a5c5ea02177dd32e4
commit: d62e74bcb173cab374d582014dc1183a09efd25d [4304/4582] hwmon: (pmbus/mp2975) Use i2c_get_match_data() [take 2]
config: x86_64-buildonly-randconfig-002-20240607 (https://download.01.org/0day-ci/archive/20240607/202406071658.Sq9UXHmz-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240607/202406071658.Sq9UXHmz-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406071658.Sq9UXHmz-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/hwmon/pmbus/mp2975.c:1069:34: warning: 'mp2975_of_match' defined but not used [-Wunused-const-variable=]
    1069 | static const struct of_device_id mp2975_of_match[] = {
         |                                  ^~~~~~~~~~~~~~~


vim +/mp2975_of_match +1069 drivers/hwmon/pmbus/mp2975.c

  1068	
> 1069	static const struct of_device_id mp2975_of_match[] = {
  1070		{.compatible = "mps,mp2971", .data = (void *)mp2971},
  1071		{.compatible = "mps,mp2973", .data = (void *)mp2973},
  1072		{.compatible = "mps,mp2975", .data = (void *)mp2975},
  1073		{}
  1074	};
  1075	MODULE_DEVICE_TABLE(of, mp2975_of_match);
  1076	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


                 reply	other threads:[~2024-06-07  8:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202406071658.Sq9UXHmz-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=linux@roeck-us.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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