summaryrefslogtreecommitdiff
path: root/arch/um/include/asm/processor-generic.h
diff options
context:
space:
mode:
authorShrikanth Hegde <sshegde@linux.ibm.com>2024-04-12 14:50:47 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-12 11:39:32 +0200
commit9d8dec43895b86a5148ec3c68bd2a49dc59e10bd (patch)
treea19b3c67375b81d7f83b719c75166dce2ff415ef /arch/um/include/asm/processor-generic.h
parentec50b5ad169b1bde447fe4a3c8c652828ead8cf3 (diff)
powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp
[ Upstream commit 6d4341638516bf97b9a34947e0bd95035a8230a5 ] 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>
Diffstat (limited to 'arch/um/include/asm/processor-generic.h')
0 files changed, 0 insertions, 0 deletions