Hi Michael,
First bad commit (maybe != root cause):
tree:
https://git.linaro.org/people/dlezcano/linux timers/drivers/next
head: ba82fe3233ec7a10d8b47cc59f93ee844a0da31f
commit: 25259f7a5de2de9d67793dc584b15c83a3134c93 [5/22]
clocksource/drivers/timer-microchip-pit64b: Select CONFIG_TIMER_OF
config: openrisc-randconfig-s001-20200519 (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
git checkout 25259f7a5de2de9d67793dc584b15c83a3134c93
# save the attached .config to linux build tree
make C=1 ARCH=openrisc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/clocksource/timer-of.c:29:46: sparse: sparse: incorrect type in argument 2
(different address spaces) @@ expected void [noderef] <asn:3> * @@ got strvoid
[noderef] <asn:3> * @@
drivers/clocksource/timer-of.c:29:46: sparse: expected void [noderef] <asn:3>
*
drivers/clocksource/timer-of.c:29:46: sparse: got struct clock_event_device *clkevt
drivers/clocksource/timer-of.c:74:51: sparse: sparse: incorrect type in argument 4
(different address spaces) @@ expected void [noderef] <asn:3> *percpu_dev_id @@
got strvoid [noderef] <asn:3> *percpu_dev_id @@
drivers/clocksource/timer-of.c:74:51: sparse: expected void [noderef] <asn:3>
*percpu_dev_id
drivers/clocksource/timer-of.c:74:51: sparse: got struct clock_event_device *clkevt
> drivers/clocksource/timer-of.c:151:24: sparse: sparse: incorrect
type in argument 1 (different address spaces) @@ expected void *addr @@ got void
[noderef] <asvoid *addr @@
> drivers/clocksource/timer-of.c:151:24: sparse: expected void *addr
> drivers/clocksource/timer-of.c:151:24: sparse: got void [noderef] <asn:2>
*base
vim +151 drivers/clocksource/timer-of.c
dc11bae7852952 Daniel Lezcano 2017-06-05 148
5bbf4ad945a9bb Daniel Lezcano 2018-01-08 149 static __init void
timer_of_base_exit(struct of_timer_base *of_base)
dc11bae7852952 Daniel Lezcano 2017-06-05 150 {
dc11bae7852952 Daniel Lezcano 2017-06-05 @151 iounmap(of_base->base);
dc11bae7852952 Daniel Lezcano 2017-06-05 152 }
dc11bae7852952 Daniel Lezcano 2017-06-05 153
:::::: The code at line 151 was first introduced by commit
:::::: dc11bae78529526605c5c45c369c9512fd012093 clocksource/drivers: Add timer-of common
init routine
:::::: TO: Daniel Lezcano <daniel.lezcano(a)linaro.org>
:::::: CC: Daniel Lezcano <daniel.lezcano(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org