scsi: don't add scsi command result bytes
Some drivers are ADDing the scsi command's result bytes instead of ORing them. While this can produce correct results it has unexpected side effects. Signed-off-by:Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/scsi/imm.c 1 addition, 1 deletiondrivers/scsi/imm.c
- drivers/scsi/mesh.c 2 additions, 2 deletionsdrivers/scsi/mesh.c
- drivers/scsi/sym53c8xx_2/sym_glue.c 1 addition, 1 deletiondrivers/scsi/sym53c8xx_2/sym_glue.c
- drivers/scsi/sym53c8xx_2/sym_glue.h 1 addition, 1 deletiondrivers/scsi/sym53c8xx_2/sym_glue.h
Loading
Please register or sign in to comment