scsi: target: Compare explicitly with SAM_STAT_GOOD
authorBart Van Assche <bvanassche@acm.org>
Thu, 15 Apr 2021 22:08:23 +0000 (15:08 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Apr 2021 02:44:41 +0000 (22:44 -0400)
commit15df85e0d63d870e67fbd39c416f1d9815a107d0
tree38df94deee83cf92435ff0df46ce6a7b996db3f8
parent41e70e3006f63b89ae3b0d49557ac9f620bac524
scsi: target: Compare explicitly with SAM_STAT_GOOD

Instead of leaving it implicit that SAM_STAT_GOOD == 0, compare explicitly
with SAM_STAT_GOOD.

Link: https://lore.kernel.org/r/20210415220826.29438-18-bvanassche@acm.org
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_pscsi.c