linux/arch/powerpc/include
Shrikanth Hegde 1d168e682c powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp
[ Upstream commit 6d43416385 ]

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: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240412092047.455483-3-sshegde@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-06-12 11:03:47 +02:00
..
asm powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp 2024-06-12 11:03:47 +02:00
uapi/asm powerpc/bpf: Fix use of user_pt_regs in uapi 2022-06-29 20:43:04 +10:00