hpsa: logical vs bitwise AND typo
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Nov 2015 09:43:38 +0000 (12:43 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Nov 2015 21:49:35 +0000 (16:49 -0500)
commitd8a080c3746c0b60905a88ca56e83a8239c184e0
tree37fde95d5504c3cdbfd4e647ba45e15c32887ebe
parent78b7b80cf0abd5ea31d229300b11e9c3a97324ae
hpsa: logical vs bitwise AND typo

HPSA_DIAG_OPTS_DISABLE_RLD_CACHING is a mask and bitwise AND was
intended here instead of logical &&.  This bug is essentially harmless,
it means that sometimes we don't print a warning message which we wanted
to print.

Fixes: c2adae44e916 ('hpsa: disable report lun data caching')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c