diff options
| author | Arkadiusz Kubalewski <[email protected]> | 2021-03-26 18:43:43 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-04-08 17:21:37 +0000 |
| commit | 8a1e918d833ca5c391c4ded5dc006e2d1ce6d37c (patch) | |
| tree | 963bd403c3765288c2ea52fa2dffff79dd7bd8f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | i40e: Fix sparse error: 'vsi->netdev' could be null (diff) | |
| download | kernel-8a1e918d833ca5c391c4ded5dc006e2d1ce6d37c.tar.gz kernel-8a1e918d833ca5c391c4ded5dc006e2d1ce6d37c.zip | |
i40e: Fix sparse warning: missing error code 'err'
Set proper return values inside error checking if-statements.
Previously following warning was produced when compiling against sparse.
i40e_main.c:15162 i40e_init_recovery_mode() warn: missing error code 'err'
Fixes: 4ff0ee1af0169 ("i40e: Introduce recovery mode support")
Signed-off-by: Aleksandr Loktionov <[email protected]>
Signed-off-by: Arkadiusz Kubalewski <[email protected]>
Tested-by: Dave Switzer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
