From: Tony Lindgren <tony@atomide.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Daniel Lezcano <daniel.lezcano@linaro.org>
Subject: Re: drivers/clocksource/timer-ti-dm.c:1039:34: warning: 'omap_timer_match' defined but not used
Date: Mon, 24 Oct 2022 08:30:38 +0300 [thread overview]
Message-ID: <Y1Yi/tP2RLjHOW4a@atomide.com> (raw)
In-Reply-To: <202210171928.H90N0pmu-lkp@intel.com>
* kernel test robot <lkp@intel.com> [221017 11:39]:
> 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@intel.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[] = {
> | ^~~~~~~~~~~~~~~~
Seems like dropping of_match_ptr() is the way to go here.
Regards,
Tony
next prev parent reply other threads:[~2022-10-24 5:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 11:47 drivers/clocksource/timer-ti-dm.c:1039:34: warning: 'omap_timer_match' defined but not used kernel test robot
2022-10-24 5:30 ` Tony Lindgren [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-28 17:28 kernel test robot
2022-08-15 0:41 kernel test robot
2022-08-15 12:01 ` Tony Lindgren
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=Y1Yi/tP2RLjHOW4a@atomide.com \
--to=tony@atomide.com \
--cc=daniel.lezcano@linaro.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
/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