diff options
author | Hannes Reinecke <hare@suse.de> | 2018-02-26 08:39:59 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-03-01 20:16:52 -0500 |
commit | e39a97353e5378eb46bf01679799c5704d397f32 (patch) | |
tree | 9372d05e5ee016ad861b7b0b85659e48ad0faa9c /kernel/watchdog.c | |
parent | 3be8828fc507cdafe7040a3dcf361a2bcd8e305b (diff) |
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 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions