Home
last modified time | relevance | path

Searched hist:"60 f537d5755221efdcdae1415a4c745164c31214" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_hwi.cdiff 60f537d5755221efdcdae1415a4c745164c31214 Sat Mar 28 06:07:28 CDT 2020 kbuild test robot <lkp@intel.com> scsi: bnx2fc: fix boolreturn.cocci warnings

drivers/scsi/bnx2fc/bnx2fc_hwi.c:1019:9-10: WARNING: return of 0/1 in function 'bnx2fc_pending_work' with return type bool

Return statements in functions returning bool should use
true/false instead of 1/0.

Generated by: scripts/coccinelle/misc/boolreturn.cocci

Fixes: 77331115e220 ("scsi: bnx2fc: Process the RQE with CQE in interrupt context")
CC: Javed Hasan <jhasan@marvell.com>
Acked-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>