diff options
author | 2018-02-26 08:39:59 +0100 | |
---|---|---|
committer | 2018-03-01 20:16:52 -0500 | |
commit | e39a97353e5378eb46bf01679799c5704d397f32 (patch) | |
tree | 9372d05e5ee016ad861b7b0b85659e48ad0faa9c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops (diff) | |
download | wireguard-linux-e39a97353e5378eb46bf01679799c5704d397f32.tar.xz wireguard-linux-e39a97353e5378eb46bf01679799c5704d397f32.zip |
scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()
When converting __scsi_error_from_host_byte() to BLK_STS error codes the
case DID_OK was forgotten, resulting in it always returning an error.
Fixes: 2a842acab109 ("block: introduce new block status code type")
Cc: Doug Gilbert <dgilbert@interlog.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions