2022-04-05 02:35:05

by Sudeep Holla

[permalink] [raw]
Subject: Re: [PATCH] firmware: arm_scmi: fix incorrect type in optee transport

On Mon, Apr 04, 2022 at 12:17:22PM +0200, Etienne Carriere wrote:
> Correct struct scmi_shared_mem references that should have __iomem
> attribute. The issue was reported by kernel test robot:
>
> drivers/firmware/arm_scmi/optee.c:428:20: sparse: sparse: incorrect type in return expression (different address spaces) @@ expected struct scmi_shared_mem * @@ got struct scmi_shared_mem [noderef] __iomem *shmem @@
> drivers/firmware/arm_scmi/optee.c:440:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct scmi_shared_mem [noderef] __iomem *shmem @@ got struct scmi_shared_mem *shmem @@
>

We seem to have crossed each other when we posted this. I hadn't got this
patch before I posted. Sorry for that.

--
Regards,
Sudeep