[lvc-project] [PATCH net] octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability()

Simon Horman horms at kernel.org
Fri Jul 5 14:17:37 MSK 2024


On Fri, Jul 05, 2024 at 12:53:17PM +0300, Aleksandr Mishin wrote:
> 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 at t-argos.ru>

Reviewed-by: Simon Horman <horms at kernel.org>




More information about the lvc-project mailing list