linux/drivers/scsi/smartpqi
Gustavo A. R. Silva 12de280b36 scsi: smartpqi_init: fix boolean expression in pqi_device_remove_start
Fix boolean expression by using logical AND operator '&&' instead of
bitwise operator '&'.

This issue was detected with the help of Coccinelle.

Fixes: 1e46731efd ("scsi: smartpqi: check for null device pointers")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-01-08 21:57:26 -05:00
..
Kconfig scsi: smartpqi: update Kconfig 2016-09-02 06:27:28 -04:00
Makefile scsi: smartpqi: allow static build ("built-in") 2018-01-10 23:25:07 -05:00
smartpqi_init.c scsi: smartpqi_init: fix boolean expression in pqi_device_remove_start 2019-01-08 21:57:26 -05:00
smartpqi_sas_transport.c scsi: smartpqi: add smp_utils support 2018-12-19 22:23:35 -05:00
smartpqi_sis.c scsi: smartpqi: add ofa support 2018-12-19 22:27:52 -05:00
smartpqi_sis.h scsi: smartpqi: add ofa support 2018-12-19 22:27:52 -05:00
smartpqi.h scsi: smartpqi: add ofa support 2018-12-19 22:27:52 -05:00