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

2021-01-14 Thread Martin K. Petersen
On Mon, 11 Jan 2021 17:29:28 +0800, YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/scsi/qedf/qedf_main.c:3716:5-31: WARNING: Comparison to bool Applied to 5.12/scsi-queue, thanks! [1/1] scsi: qedf: style: Simplify bool comparison

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

2021-01-12 Thread Martin K. Petersen
Yang, > Fix the following coccicheck warning: > ./drivers/scsi/qedf/qedf_main.c:3716:5-31: WARNING: Comparison to bool Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

RE: [EXT] [PATCH] scsi: qedf: style: Simplify bool comparison

2021-01-11 Thread Saurav Kashyap
rmlinux.org.uk; linux- > s...@vger.kernel.org; linux-kernel@vger.kernel.org; net...@vger.kernel.org; > YANG LI > Subject: [EXT] [PATCH] scsi: qedf: style: Simplify bool comparison > > External Email > > ---

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

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/scsi/qedf/qedf_main.c:3716:5-31: WARNING: Comparison to bool Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/scsi/qedf/qedf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qedf/qedf_main.c