Skip to content
Commit 5b179634 authored by Shrikanth Hegde's avatar Shrikanth Hegde Committed by Greg Kroah-Hartman
Browse files

powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp



[ Upstream commit 6d434163 ]

Couple of Minor fixes:

- hcall return values are long. Fix that for h_get_mpp, h_get_ppp and
parse_ppp_data

- If hcall fails, values set should be at-least zero. It shouldn't be
uninitialized values. Fix that for h_get_mpp and h_get_ppp

Signed-off-by: default avatarShrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240412092047.455483-3-sshegde@linux.ibm.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b648756e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment