Skip to content
Commit 1d168e68 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 64c0cbc5
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