[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yvo1pfzCVijXxTlu@atomide.com>
Date: Mon, 15 Aug 2022 15:01:41 +0300
From: Tony Lindgren <tony@...mide.com>
To: kernel test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Daniel Lezcano <daniel.lezcano@...aro.org>
Subject: Re: drivers/clocksource/timer-ti-dm.c:1039:34: warning:
'omap_timer_match' defined but not used
* kernel test robot <lkp@...el.com> [220815 00:34]:
> Hi Tony,
>
> First bad commit (maybe != root cause):
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868
> commit: ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567 clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3
> date: 3 weeks ago
> config: x86_64-buildonly-randconfig-r004-20220815 (https://download.01.org/0day-ci/archive/20220815/202208150851.T0MUBaQR-lkp@intel.com/config)
> compiler: gcc-11 (Debian 11.3.0-3) 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/ drivers/soc/mediatek/ drivers/usb/misc/
>
> 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[] = {
> | ^~~~~~~~~~~~~~~~
Seems this is best fixes with __maybe_unsued for omap_timer_match[], I'll
send a patch.
Regards,
Tony
Powered by blists - more mailing lists