summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
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-16 13:23:34 +0200
commitf0f4cb4cc3f43324bab3b5541b27e79cbd15c8d1 (patch)
treedddbffcf1a0368be839423f6661cea6d29822be2 /net/switchdev/switchdev.c
parentf6a392266276730bea893b55d12940e32a25f56a (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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions