diff options
| author | Colin Ian King <[email protected]> | 2021-08-04 13:49:40 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-08-10 03:46:19 +0000 |
| commit | 40d32727931cee82cdc5aaca25ce725d1f3ac864 (patch) | |
| tree | f96e41fbf63f99633cd2aa12896ddb541b01435b /net/unix/af_unix.c | |
| parent | scsi: storvsc: Log TEST_UNIT_READY errors as warnings (diff) | |
| download | kernel-40d32727931cee82cdc5aaca25ce725d1f3ac864.tar.gz kernel-40d32727931cee82cdc5aaca25ce725d1f3ac864.zip | |
scsi: mpt3sas: Fix incorrectly assigned error return and check
Currently the call to _base_static_config_pages() is assigning the error
return to variable 'rc' but checking the error return in error 'r'. Fix
this by assigning the error return to variable 'r' instead of 'rc'.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 19a622c39a9d ("scsi: mpt3sas: Handle firmware faults during first half of IOC init")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Addresses-Coverity: ("Unused value")
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
