diff options
| author | Sumit Saxena <[email protected]> | 2016-11-09 10:59:42 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-11-09 16:26:41 +0000 |
| commit | 5e5ec1759dd663a1d5a2f10930224dd009e500e8 (patch) | |
| tree | b7d0d994002c836c72a0efc52b9856b718b51971 /drivers/fpga/altera-fpga2sdram.c | |
| parent | scsi: qla2xxx: fix invalid DMA access after command aborts in PCI device remove (diff) | |
| download | kernel-5e5ec1759dd663a1d5a2f10930224dd009e500e8.tar.gz kernel-5e5ec1759dd663a1d5a2f10930224dd009e500e8.zip | |
scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
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 <[email protected]>
CC: [email protected]
Signed-off-by: Kashyap Desai <[email protected]>
Signed-off-by: Sumit Saxena <[email protected]>
Tested-by: Sumit Saxena <[email protected]>
Reviewed-by: Tomas Henzl <[email protected]>
Tested-by: Jens Axboe <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
