[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202210171928.H90N0pmu-lkp@intel.com>
Date: Mon, 17 Oct 2022 19:47:49 +0800
From: kernel test robot <lkp@...el.com>
To: Tony Lindgren <tony@...mide.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Daniel Lezcano <daniel.lezcano@...aro.org>
Subject: drivers/clocksource/timer-ti-dm.c:1039:34: warning:
'omap_timer_match' defined but not used
Hi Tony,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9abf2313adc1ca1b6180c508c25f22f9395cc780
commit: ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567 clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3
date: 3 months ago
config: x86_64-buildonly-randconfig-r006-20221017
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567
# 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/clocksource/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/clocksource/timer-ti-dm.c:1039:34: warning: 'omap_timer_match' defined but not used [-Wunused-const-variable=]
1039 | static const struct of_device_id omap_timer_match[] = {
| ^~~~~~~~~~~~~~~~
vim +/omap_timer_match +1039 drivers/clocksource/timer-ti-dm.c
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1038
9725f4451a9ccd1 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-05-14 @1039 static const struct of_device_id omap_timer_match[] = {
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1040 {
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1041 .compatible = "ti,omap2420-timer",
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1042 },
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1043 {
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1044 .compatible = "ti,omap3430-timer",
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1045 .data = &omap3plus_pdata,
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1046 },
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1047 {
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1048 .compatible = "ti,omap4430-timer",
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1049 .data = &omap3plus_pdata,
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1050 },
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1051 {
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1052 .compatible = "ti,omap5430-timer",
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1053 .data = &omap3plus_pdata,
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1054 },
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1055 {
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1056 .compatible = "ti,am335x-timer",
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1057 .data = &omap3plus_pdata,
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1058 },
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1059 {
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1060 .compatible = "ti,am335x-timer-1ms",
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1061 .data = &omap3plus_pdata,
d1c6ccfe3dbdd2d arch/arm/plat-omap/dmtimer.c Jon Hunter 2013-03-19 1062 },
8c0cabd7970c0d5 arch/arm/plat-omap/dmtimer.c Neil Armstrong 2015-10-22 1063 {
8c0cabd7970c0d5 arch/arm/plat-omap/dmtimer.c Neil Armstrong 2015-10-22 1064 .compatible = "ti,dm816-timer",
8c0cabd7970c0d5 arch/arm/plat-omap/dmtimer.c Neil Armstrong 2015-10-22 1065 .data = &omap3plus_pdata,
8c0cabd7970c0d5 arch/arm/plat-omap/dmtimer.c Neil Armstrong 2015-10-22 1066 },
9725f4451a9ccd1 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-05-14 1067 {},
9725f4451a9ccd1 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-05-14 1068 };
9725f4451a9ccd1 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-05-14 1069 MODULE_DEVICE_TABLE(of, omap_timer_match);
9725f4451a9ccd1 arch/arm/plat-omap/dmtimer.c Jon Hunter 2012-05-14 1070
:::::: The code at line 1039 was first introduced by commit
:::::: 9725f4451a9ccd159b1d13f63e05896cd9bce07d ARM: OMAP: Add DT support for timer driver
:::::: TO: Jon Hunter <jon-hunter@...com>
:::::: CC: Jon Hunter <jon-hunter@...com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (152322 bytes)
Powered by blists - more mailing lists