Re: [PATCH] scsi: lpfc: style: Simplify bool comparison

2021-01-14 Thread Martin K. Petersen
On Tue, 12 Jan 2021 16:24:53 +0800, YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/scsi/lpfc/lpfc_bsg.c:5392:5-29: WARNING: Comparison to bool Applied to 5.12/scsi-queue, thanks! [1/1] scsi: lpfc: style: Simplify bool comparison https://git.kernel.org/mkp/scsi/c/af0c94a

Re: [PATCH] scsi: lpfc: style: Simplify bool comparison

2021-01-12 Thread James Smart
On 1/12/2021 12:24 AM, YANG LI wrote: Fix the following coccicheck warning: ./drivers/scsi/lpfc/lpfc_bsg.c:5392:5-29: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: YANG LI --- drivers/scsi/lpfc/lpfc_bsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH] scsi: lpfc: style: Simplify bool comparison

2021-01-12 Thread YANG LI
Fix the following coccicheck warning: ./drivers/scsi/lpfc/lpfc_bsg.c:5392:5-29: WARNING: Comparison to bool Reported-by: Abaci Robot Signed-off-by: YANG LI --- drivers/scsi/lpfc/lpfc_bsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/dri