Hi Stephen,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0bddd227f3dc55975e2b8dfa7fc6f959b062a2c7
commit: bbd7ffdbef6888459f301c5889f3b14ada38b913 clk: Allow the common clk framework to
be selectable
date: 9 weeks ago
config: openrisc-randconfig-s031-20200710 (attached as .config)
compiler: or1k-linux-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
# apt-get install sparse
# sparse version: v0.6.2-37-gc9676a3b-dirty
git checkout bbd7ffdbef6888459f301c5889f3b14ada38b913
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/clk/clk-hsdk-pll.c:407:24: sparse: sparse: incorrect type in argument 1
(different address spaces) @@ expected void *addr @@ got void [noderef]
<asn:2> *spec_regs @@
>> drivers/clk/clk-hsdk-pll.c:407:24: sparse: expected void *addr
drivers/clk/clk-hsdk-pll.c:407:24: sparse: got void [noderef] <asn:2>
*spec_regs
drivers/clk/clk-hsdk-pll.c:409:24: sparse: sparse: incorrect type in argument 1
(different address spaces) @@ expected void *addr @@ got void [noderef]
<asn:2> *regs @@
drivers/clk/clk-hsdk-pll.c:409:24: sparse: expected void *addr
drivers/clk/clk-hsdk-pll.c:409:24: sparse: got void [noderef] <asn:2> *regs