* kbuild test robot <lkp(a)intel.com> [200519 12:43]:
tree:
http://git.linaro.org/people/daniel.lezcano/linux
timers/drivers/timer-ti
head: aba1ad05da088944a62eb87fb0cd8391152e8985
commit: aba1ad05da088944a62eb87fb0cd8391152e8985 [2/2] clocksource/drivers/timer-ti-dm:
Add clockevent and clocksource support
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout aba1ad05da088944a62eb87fb0cd8391152e8985
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/clocksource/timer-ti-dm-systimer.c: In function
'dmtimer_clockevent_init':
>> drivers/clocksource/timer-ti-dm-systimer.c:517:6: warning: variable 'pa'
set but not used [-Wunused-but-set-variable]
517 | u32 pa;
| ^~
drivers/clocksource/timer-ti-dm-systimer.c: In function
'dmtimer_clocksource_init':
drivers/clocksource/timer-ti-dm-systimer.c:640:6: warning: variable 'pa' set but
not used [-Wunused-but-set-variable]
640 | u32 pa;
| ^~
Thanks, I've sent a fix removing these as patch in case Daniel did not
already fix it locally:
[PATCH] clocksource/drivers/timer-ti-dm: Fix warning for set but not used
Regards,
Tony