scsi: qla2xxx: edif: Fix inconsistent check of db_flags
authorQuinn Tran <qutran@marvell.com>
Tue, 26 Oct 2021 11:54:10 +0000 (04:54 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Oct 2021 03:52:00 +0000 (23:52 -0400)
commit36f468bfe98c7de7916ab3391ee5dd6fd2549979
tree235a69f48488d3f4007383a3eb21cf4c18395492
parent0f6d600a26e89d31d8381b324fc970f72579a126
scsi: qla2xxx: edif: Fix inconsistent check of db_flags

db_flags field is a bit field. Replace value check with bit flag check.

Link: https://lore.kernel.org/r/20211026115412.27691-12-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_edif.c
drivers/scsi/qla2xxx/qla_edif.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_target.c