diff options
author | Tony Nguyen <[email protected]> | 2023-01-05 11:33:11 -0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-02-14 13:08:02 -0800 |
commit | d8a23ff6a755eccbebfa1b5173a951cfdd088c8c (patch) | |
tree | a11abe391825576b22778f9a496b963b3640b777 /drivers/usb/cdns3/cdns3-debug.h | |
parent | fce92dbc611727525e03c31547c715c65960e5ce (diff) |
ice: Change ice_vsi_realloc_stat_arrays() to void
smatch reports:
smatch warnings:
drivers/net/ethernet/intel/ice/ice_lib.c:3612 ice_vsi_rebuild() warn: missing error code 'ret'
If an error is encountered for ice_vsi_realloc_stat_arrays(), ret is not
assigned an error value so the goto error path would return success. The
function, however, only returns 0 so an error will never be reported; due
to this, change the function to return void.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Tested-by: Gurucharan G <[email protected]> (A Contingent worker at Intel)
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions