summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSumit Saxena <sumit.saxena@broadcom.com>2016-11-09 02:59:42 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-15 07:48:54 +0100
commit8ed841d6c045c31c3309b70395b920cb707537d4 (patch)
tree6527434bdbea21a955992c63081d6beb4a1d7295 /sound
parent32f60e9b621fff93433fe398cedde009f184c63e (diff)
downloadlwn-8ed841d6c045c31c3309b70395b920cb707537d4.tar.gz
lwn-8ed841d6c045c31c3309b70395b920cb707537d4.zip
scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
commit 5e5ec1759dd663a1d5a2f10930224dd009e500e8 upstream. This patch will fix regression caused by commit 1e793f6fc0db ("scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices"). The problem was that the MEGASAS_IS_LOGICAL macro did not have braces and as a result the driver ended up exposing a lot of non-existing SCSI devices (all SCSI commands to channels 1,2,3 were returned as SUCCESS-DID_OK by driver). [mkp: clarified patch description] Fixes: 1e793f6fc0db920400574211c48f9157a37e3945 Reported-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com> Tested-by: Sumit Saxena <sumit.saxena@broadcom.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Tested-by: Jens Axboe <axboe@fb.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions