]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_scmi: Convert u32 to unsigned long to align with arm_smccc_1_1_invoke()
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 9 Oct 2023 15:20:49 +0000 (16:20 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 9 Oct 2023 21:05:22 +0000 (22:05 +0100)
commit1f17395124a53a8edbb6c51e37b98b49a3523b9b
tree2f079c5b6ae9a066c926f00a54c6b0ce17ee0bf4
parent65a8a3dd3b95f0310da76f529f86287fefed6a28
firmware: arm_scmi: Convert u32 to unsigned long to align with arm_smccc_1_1_invoke()

All the parameters to arm_smccc_1_1_invoke() are unsigned long which
aligns well on both 32-bit and 64-bit Arm based platforms. Let us store
all the members in the structure scmi_smc used as the parameters to the
arm_smccc_1_1_invoke() call as unsigned long.

Cc: Cristian Marussi <cristian.marussi@arm.com>
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20231009152049.1428872-1-sudeep.holla@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/smc.c