Skip to content
Snippets Groups Projects
Commit 442e26af authored by Aleksandr Mishin's avatar Aleksandr Mishin Committed by Paolo Abeni
Browse files

octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability()


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: 746ea742 ("octeontx2-af: Add RVU block LF provisioning support")
Signed-off-by: default avatarAleksandr Mishin <amishin@t-argos.ru>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240705095317.12640-1-amishin@t-argos.ru


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 0d1b7d6c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment