[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <159532697180.3847286.18120516358909570318@swboyd.mtv.corp.google.com>
Date: Tue, 21 Jul 2020 03:22:51 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: kernel test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nel.org>, Arnd Bergmann <arnd@...db.de>
Subject: Re: drivers/clk/clk-hsdk-pll.c:407:24: sparse: expected void
Quoting kernel test robot (2020-07-09 21:12:29)
> 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@...el.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
Looks like openrisc arch has an improper annotated version of iounmap().
Powered by blists - more mailing lists