diff options
| author | Hannes Reinecke <[email protected]> | 2018-02-26 07:39:59 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-03-02 01:16:52 +0000 |
| commit | e39a97353e5378eb46bf01679799c5704d397f32 (patch) | |
| tree | 9372d05e5ee016ad861b7b0b85659e48ad0faa9c /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops (diff) | |
| download | kernel-e39a97353e5378eb46bf01679799c5704d397f32.tar.gz kernel-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 <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
