From: kernel test robot <lkp@intel.com>
To: Markus Reichl <m.reichl@fivetechno.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Mark Brown <broonie@kernel.org>
Subject: drivers/regulator/mp8859.c:131:34: warning: 'mp8859_dt_id' defined but not used
Date: Wed, 11 May 2022 11:31:29 +0800 [thread overview]
Message-ID: <202205111110.NZWaV5qs-lkp@intel.com> (raw)
Hi Markus,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
commit: c66f1cbad53a61f00f8b6273e737d5e560b69ec7 regulator: mp8859: add config option and build entry
date: 2 years, 4 months ago
config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220511/202205111110.NZWaV5qs-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c66f1cbad53a61f00f8b6273e737d5e560b69ec7
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c66f1cbad53a61f00f8b6273e737d5e560b69ec7
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/bridge/analogix/ drivers/regulator/
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 >>):
>> drivers/regulator/mp8859.c:131:34: warning: 'mp8859_dt_id' defined but not used [-Wunused-const-variable=]
131 | static const struct of_device_id mp8859_dt_id[] = {
| ^~~~~~~~~~~~
vim +/mp8859_dt_id +131 drivers/regulator/mp8859.c
4444a1c10069e2f Markus Reichl 2020-01-06 130
4444a1c10069e2f Markus Reichl 2020-01-06 @131 static const struct of_device_id mp8859_dt_id[] = {
4444a1c10069e2f Markus Reichl 2020-01-06 132 {.compatible = "mps,mp8859"},
4444a1c10069e2f Markus Reichl 2020-01-06 133 {},
4444a1c10069e2f Markus Reichl 2020-01-06 134 };
4444a1c10069e2f Markus Reichl 2020-01-06 135 MODULE_DEVICE_TABLE(of, mp8859_dt_id);
4444a1c10069e2f Markus Reichl 2020-01-06 136
:::::: The code at line 131 was first introduced by commit
:::::: 4444a1c10069e2f371fa497ba22feafafed5aada regulator: mp8859: add driver
:::::: TO: Markus Reichl <m.reichl@fivetechno.de>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-11 3:32 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=202205111110.NZWaV5qs-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.reichl@fivetechno.de \
/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.