[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210115061638.puvc5cxlf64p3yhy@vireshk-i7>
Date: Fri, 15 Jan 2021 11:46:38 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Tushar Khandelwal <Tushar.Khandelwal@....com>,
Jassi Brar <jassisinghbrar@...il.com>
Cc: Vincent Guittot <vincent.guittot@...aro.org>,
kernel test robot <lkp@...el.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mailbox: arm_mhuv2: Fix sparse warnings
On 30-12-20, 10:12, Viresh Kumar wrote:
> This patch fixes a bunch of sparse warnings in the newly added arm_mhuv2
> driver.
>
> drivers/mailbox/arm_mhuv2.c:506:24: warning: incorrect type in argument 1 (different address spaces)
> drivers/mailbox/arm_mhuv2.c:506:24: expected void const volatile [noderef] __iomem *addr
> drivers/mailbox/arm_mhuv2.c:506:24: got unsigned int [usertype] *
> drivers/mailbox/arm_mhuv2.c:547:42: warning: incorrect type in argument 2 (different address spaces)
> drivers/mailbox/arm_mhuv2.c:547:42: expected unsigned int [usertype] *reg
> drivers/mailbox/arm_mhuv2.c:547:42: got unsigned int [noderef] __iomem *
> drivers/mailbox/arm_mhuv2.c:625:42: warning: incorrect type in argument 2 (different address spaces)
> drivers/mailbox/arm_mhuv2.c:625:42: expected unsigned int [usertype] *reg
> drivers/mailbox/arm_mhuv2.c:625:42: got unsigned int [noderef] __iomem *
> drivers/mailbox/arm_mhuv2.c:972:24: warning: dereference of noderef expression
> drivers/mailbox/arm_mhuv2.c:973:22: warning: dereference of noderef expression
> drivers/mailbox/arm_mhuv2.c:993:25: warning: dereference of noderef expression
> drivers/mailbox/arm_mhuv2.c:1026:24: warning: dereference of noderef expression
> drivers/mailbox/arm_mhuv2.c:1027:22: warning: dereference of noderef expression
> drivers/mailbox/arm_mhuv2.c:1048:17: warning: dereference of noderef expression
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> ---
> drivers/mailbox/arm_mhuv2.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
Jassi, can you please send this for 5.11-rc4 ?
--
viresh
Powered by blists - more mailing lists