From: kernel test robot <lkp@intel.com>
To: Jiri Slaby <jslaby@suse.cz>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: drivers/tty/serial/pic32_uart.c:904:34: warning: 'pic32_serial_dt_ids' defined but not used
Date: Sun, 12 Jan 2025 17:59:38 +0800 [thread overview]
Message-ID: <202501121741.fRJ050Ah-lkp@intel.com> (raw)
Hi Jiri,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b62cef9a5c673f1b8083159f5dc03c1c5daced2f
commit: e3e7b13bffae85e2806c73e3ccacd4447bcb19ed serial: allow COMPILE_TEST for some drivers
date: 2 years, 9 months ago
config: mips-randconfig-s051-20221112 (https://download.01.org/0day-ci/archive/20250112/202501121741.fRJ050Ah-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250112/202501121741.fRJ050Ah-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/202501121741.fRJ050Ah-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/tty/serial/pic32_uart.c:904:34: warning: 'pic32_serial_dt_ids' defined but not used [-Wunused-const-variable=]
904 | static const struct of_device_id pic32_serial_dt_ids[] = {
| ^~~~~~~~~~~~~~~~~~~
vim +/pic32_serial_dt_ids +904 drivers/tty/serial/pic32_uart.c
157b9394709ed5 Andrei Pistirica 2016-01-13 903
157b9394709ed5 Andrei Pistirica 2016-01-13 @904 static const struct of_device_id pic32_serial_dt_ids[] = {
157b9394709ed5 Andrei Pistirica 2016-01-13 905 { .compatible = "microchip,pic32mzda-uart" },
157b9394709ed5 Andrei Pistirica 2016-01-13 906 { /* sentinel */ }
157b9394709ed5 Andrei Pistirica 2016-01-13 907 };
157b9394709ed5 Andrei Pistirica 2016-01-13 908 MODULE_DEVICE_TABLE(of, pic32_serial_dt_ids);
157b9394709ed5 Andrei Pistirica 2016-01-13 909
:::::: The code at line 904 was first introduced by commit
:::::: 157b9394709ed5233288986a293405def22792ed serial: pic32_uart: Add PIC32 UART driver
:::::: TO: Andrei Pistirica <andrei.pistirica@microchip.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-01-12 9:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-12 9:59 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-25 16:21 drivers/tty/serial/pic32_uart.c:904:34: warning: 'pic32_serial_dt_ids' defined but not used kernel test robot
2024-12-06 7:36 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=202501121741.fRJ050Ah-lkp@intel.com \
--to=lkp@intel.com \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--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 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.