diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-10-19 11:16:28 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-20 00:30:28 +0200 |
commit | 9a231caa77c3afdf775bcc9b7c403244deb3d539 (patch) | |
tree | 94f46ae1010c9ebdac51d51d1bf12588a5a2d274 /drivers/scsi/pmcraid.c | |
parent | scsi: hisi_sas: Fix NULL pointer dereference (diff) | |
download | linux-9a231caa77c3afdf775bcc9b7c403244deb3d539.tar.xz linux-9a231caa77c3afdf775bcc9b7c403244deb3d539.zip |
scsi: myrs: Fix a logical vs bitwise bug
The || was supposed to be |. The original code just sets ->result to 1.
Fixes: 77266186397c ("scsi: myrs: Add Mylex RAID controller (SCSI interface)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions