From: kernel test robot <lkp@intel.com>
To: Aswath Govindraju <a-govindraju@ti.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Vinod Koul <vkoul@kernel.org>
Subject: drivers/mux/mmio.c:29:34: warning: 'mux_mmio_dt_ids' defined but not used
Date: Sat, 27 May 2023 19:06:15 +0800 [thread overview]
Message-ID: <202305271837.P7wi3WCR-lkp@intel.com> (raw)
Hi Aswath,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 49572d5361298711207ab387a6c318407deb963a
commit: e4d4371253029528c02bfb43a46c252e1c3d035f phy: phy-can-transceiver: Add support for setting mux
date: 1 year, 2 months ago
config: i386-buildonly-randconfig-r006-20230526 (https://download.01.org/0day-ci/archive/20230527/202305271837.P7wi3WCR-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e4d4371253029528c02bfb43a46c252e1c3d035f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e4d4371253029528c02bfb43a46c252e1c3d035f
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 olddefconfig
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/mux/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305271837.P7wi3WCR-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/mux/mmio.c:29:34: warning: 'mux_mmio_dt_ids' defined but not used [-Wunused-const-variable=]
29 | static const struct of_device_id mux_mmio_dt_ids[] = {
| ^~~~~~~~~~~~~~~
vim +/mux_mmio_dt_ids +29 drivers/mux/mmio.c
73726380a26fa1 drivers/mux/mux-mmio.c Philipp Zabel 2017-05-14 28
73726380a26fa1 drivers/mux/mux-mmio.c Philipp Zabel 2017-05-14 @29 static const struct of_device_id mux_mmio_dt_ids[] = {
73726380a26fa1 drivers/mux/mux-mmio.c Philipp Zabel 2017-05-14 30 { .compatible = "mmio-mux", },
8ecfaca7926f4b drivers/mux/mmio.c Pankaj Bansal 2019-06-12 31 { .compatible = "reg-mux", },
73726380a26fa1 drivers/mux/mux-mmio.c Philipp Zabel 2017-05-14 32 { /* sentinel */ }
73726380a26fa1 drivers/mux/mux-mmio.c Philipp Zabel 2017-05-14 33 };
73726380a26fa1 drivers/mux/mux-mmio.c Philipp Zabel 2017-05-14 34 MODULE_DEVICE_TABLE(of, mux_mmio_dt_ids);
73726380a26fa1 drivers/mux/mux-mmio.c Philipp Zabel 2017-05-14 35
:::::: The code at line 29 was first introduced by commit
:::::: 73726380a26fa1ed490f30fccee10ed9da28dc0c mux: mmio-based syscon mux controller
:::::: TO: Philipp Zabel <p.zabel@pengutronix.de>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-05-27 11:07 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=202305271837.P7wi3WCR-lkp@intel.com \
--to=lkp@intel.com \
--cc=a-govindraju@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vkoul@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
all inboxes | Powered by JetHome®