[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1pmxj23io.fsf@ca-mkp.ca.oracle.com>
Date: Fri, 21 May 2021 17:14:36 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: kernel test robot <lkp@...el.com>
Cc: Bodo Stroesser <bostroesser@...il.com>, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, target-devel@...r.kernel.org
Subject: Re: [PATCH] scsi: target: tcmu: fix boolreturn.cocci warnings
> From: kernel test robot <lkp@...el.com>
>
> drivers/target/target_core_user.c:1424:9-10: WARNING: return of 0/1 in function 'tcmu_handle_completions' 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
Applied to 5.14/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists