kernel_samsung_a53x/drivers/net/ethernet/marvell/octeontx2/af
Aleksandr Mishin da14c3300e octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability()
[ Upstream commit 442e26af9aa8115c96541026cbfeaaa76c85d178 ]

In rvu_check_rsrc_availability() in case of invalid SSOW req, an incorrect
data is printed to error log. 'req->sso' value is printed instead of
'req->ssow'. Looks like "copy-paste" mistake.

Fix this mistake by replacing 'req->sso' with 'req->ssow'.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 746ea74241fa ("octeontx2-af: Add RVU block LF provisioning support")
Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240705095317.12640-1-amishin@t-argos.ru
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:43 +01:00
..
cgx.c Octeontx2-af: fix pause frame configuration in GMP mode 2024-11-19 09:22:44 +01:00
cgx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cgx_fw_if.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mbox.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mbox.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
npc.h octeontx2-af: Fix marking couple of structure as __packed 2024-11-18 12:12:06 +01:00
npc_profile.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ptp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu.c octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability() 2024-11-19 14:19:43 +01:00
rvu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_cgx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_debugfs.c octeontx2-af: avoid off-by-one read from userspace 2024-11-19 11:32:42 +01:00
rvu_nix.c octeontx2-af: Fix NIX SQ mode and BP config 2024-11-19 11:32:19 +01:00
rvu_npa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_npc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_reg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_struct.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rvu_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00