]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[SCSI] Set hostbyte status in scsi_check_sense()
authorHannes Reinecke <hare@suse.de>
Mon, 1 Jul 2013 13:16:24 +0000 (15:16 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 23 Aug 2013 16:34:56 +0000 (12:34 -0400)
commit87f14e658f664a17dcdb38d3f6ae70642fcdc263
tree4ccf6e9a3c91c641d0cb6900f217a49f09960451
parent0f7f6234d360341d74cfd6e77fcb315daf9905fd
[SCSI] Set hostbyte status in scsi_check_sense()

We should be modifying the host_byte status in scsi_check_sense()
directly; this saves us to introduce a special return code for
each and every condition.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_error.c
include/scsi/scsi.h