firmware: smccc: Fix use of uninitialised results structure
authorPunit Agrawal <punit.agrawal@bytedance.com>
Mon, 17 Jul 2023 17:17:02 +0000 (18:17 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 18 Jul 2023 09:08:05 +0000 (10:08 +0100)
commitd05799d7b4a39fa71c65aa277128ac7c843ffcdc
tree434f557e69260cf0655718bf64af1c050645e4ab
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
firmware: smccc: Fix use of uninitialised results structure

Commit 35727af2b15d ("irqchip/gicv3: Workaround for NVIDIA erratum
T241-FABRIC-4") moved the initialisation of the SoC version to
arm_smccc_version_init() but forgot to update the results structure
and it's usage.

Fix the use of the uninitialised results structure and update the
error strings.

Fixes: 35727af2b15d ("irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4")
Signed-off-by: Punit Agrawal <punit.agrawal@bytedance.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Vikram Sethi <vsethi@nvidia.com>
Cc: Shanker Donthineni <sdonthineni@nvidia.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230717171702.424253-1-punit.agrawal@bytedance.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/smccc/soc_id.c