[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210119211814.GK2002709@lianli.shorne-pla.net>
Date: Wed, 20 Jan 2021 06:18:14 +0900
From: Stafford Horne <shorne@...il.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Jonas Bonn <jonas@...thpole.se>,
Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>,
openrisc@...ts.librecores.org, linux-kernel@...r.kernel.org,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] openrisc: io: Add missing __iomem annotation to iounmap()
On Mon, Dec 28, 2020 at 09:33:28AM +0100, Geert Uytterhoeven wrote:
> With C=1:
>
> drivers/soc/renesas/rmobile-sysc.c:330:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem *[assigned] base @@
> drivers/soc/renesas/rmobile-sysc.c:330:33: sparse: expected void *addr
> drivers/soc/renesas/rmobile-sysc.c:330:33: sparse: got void [noderef] __iomem *[assigned] base
>
> Fix this by adding the missing __iomem annotation to iounmap().
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
Reviewed and OK. I queued this to my 5.11 fixes branch. I will send a PR for this
over the weekend.
https://github.com/openrisc/linux/commits/or1k-5.11-fixes
(Found this one in spam and hopefully fixed up my filters now)
-Stafford
Powered by blists - more mailing lists