]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit478971600e47cb83ff2d3c63c5c24f2b04b0d6a1
tree8a426c30523aa558249bc8e4844b757af6ac1b96
parent16d3ea26f82271fef9b1c4523b5e1ea31fa39eec
[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