[PATCH] firmware: arm_scmi: Fix type error assignment in voltage protocol

Sudeep Holla sudeep.holla at arm.com
Thu Nov 18 04:12:40 PST 2021


On Mon, 15 Nov 2021 15:40:42 +0000, Cristian Marussi wrote:
> Fix incorrect type assignment error reported by sparse as:
> 
> drivers/firmware/arm_scmi/voltage.c:159:42: warning: incorrect type in assignment (different base types)
> drivers/firmware/arm_scmi/voltage.c:159:42: expected restricted __le32 [usertype] level_index
> drivers/firmware/arm_scmi/voltage.c:159:42: got unsigned int [usertype] desc_index
> 
> 
> [...]

Applied to sudeep.holla/linux (for-next/scmi), thanks!

[1/1] firmware: arm_scmi: Fix type error assignment in voltage protocol
      https://git.kernel.org/sudeep.holla/c/026d9835b6

--
Regards,
Sudeep



More information about the linux-arm-kernel mailing list