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

2021-01-26 Thread Martin K. Petersen
On Mon, 11 Jan 2021 16:54:13 +0800, YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/scsi/mpt3sas/mpt3sas_base.c:2424:5-20: WARNING: Comparison of > 0/1 to bool variable Applied to 5.12/scsi-queue, thanks! [1/1] scsi: mpt3sas: style: Simplify bool comparison https://git.k

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

2021-01-22 Thread Martin K. Petersen
Yang, > Fix the following coccicheck warning: > ./drivers/scsi/mpt3sas/mpt3sas_base.c:2424:5-20: WARNING: Comparison of > 0/1 to bool variable Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

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

2021-01-11 Thread YANG LI
Fix the following coccicheck warning: ./drivers/scsi/mpt3sas/mpt3sas_base.c:2424:5-20: WARNING: Comparison of 0/1 to bool variable Signed-off-by: YANG LI Reported-by: Abaci Robot --- drivers/scsi/mpt3sas/mpt3sas_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive