]> git.baikalelectronics.ru Git - 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)
commit329d0d82a3bea8a0d4744da9eb6d8a0e4169fec0
tree4ccf6e9a3c91c641d0cb6900f217a49f09960451
parent42c6c6842660f01fe19fc389904ecd6459a8fdf2
[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