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
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(-)
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
3 matches
Mail list logo