> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Wei Yongjun
> Sent: Thursday, June 18, 2020 7:20 AM
> To: Kirsher, Jeffrey T <[email protected]>; Jakub Kicinski
> <[email protected]>
> Cc: [email protected]; [email protected]; Wei
> Yongjun <[email protected]>; [email protected]
> Subject: [Intel-wired-lan] [PATCH] iavf: fix error return code in
> iavf_init_get_resources()
> 
> Fix to return negative error code -ENOMEM from the error handling case
> instead of 0, as done elsewhere in this function.
> 
> Fixes: b66c7bc1cd4d ("iavf: Refactor init state machine")
> Signed-off-by: Wei Yongjun <[email protected]>
> ---
>  drivers/net/ethernet/intel/iavf/iavf_main.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Tested-by: Andrew Bowers <[email protected]>


Reply via email to