diff options
| author | Christophe JAILLET <[email protected]> | 2016-08-26 15:09:06 +0530 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-08-30 22:24:40 -0400 |
| commit | deeea8edc746c68d7aa2282322b14be701ec11ee (patch) | |
| tree | 1f2de92fb403a095afdc9b0c62f569acdb8532ed /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 51f9039ffd751dee54fe26609df645bfd128b1d0 (diff) | |
scsi: be2iscsi: Fix error return code
We know that 'ret' is not an error code because it has been tested a few
lines above. So, if one of these function fails, 0 will be returned
instead of an error code. Return -ENOMEM instead.
Signed-off-by: Christophe JAILLET <[email protected]>
'ret' needs to be set with error code if hba_setup_cid_tbls fails.
Signed-off-by: Jitendra Bhivare <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions