[PATCH] firmware: arm_scmi: Fix sparse warnings in OPTEE transport driver

Sudeep Holla sudeep.holla at arm.com
Tue Apr 5 07:33:00 PDT 2022


On Mon, 4 Apr 2022 11:24:19 +0100, Sudeep Holla wrote:
> The sparse checker complains about converting pointers between address
> spaces.  We correctly stored an __iomem pointer in struct scmi_optee_channel,
> but discarded the __iomem when returning it from get_channel_shm, causing one
> warning. Then we passed the non-__iomem pointer return from get_channel_shm
> at tow other places, where an __iomem pointer is expected, causing couple of
> other warnings
> 
> [...]

Applied to sudeep.holla/linux (fixes/scmi), thanks!

[1/1] firmware: arm_scmi: Fix sparse warnings in OPTEE transport driver
      https://git.kernel.org/sudeep.holla/c/bf36619a54

--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list