]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bsg: fix incorrect device_status value
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 16 Sep 2010 15:46:42 +0000 (00:46 +0900)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 15 Oct 2010 14:18:48 +0000 (10:18 -0400)
commit54eabc6f1d985e5df13d12be0edd1cf08a1a344a
tree8a426c30523aa558249bc8e4844b757af6ac1b96
parentd13a1c7141dab9fcd6480e91e0904fadf3b04c5d
[SCSI] bsg: fix incorrect device_status value

bsg incorrectly returns sg's masked_status value for device_status.

[jejb: fix up expression logic]
Reported-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
block/bsg.c