[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162200196242.11962.9476471574342620308.b4-ty@oracle.com>
Date: Wed, 26 May 2021 00:07:28 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: kernel test robot <lkp@...el.com>,
Bodo Stroesser <bostroesser@...il.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
target-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org, kbuild-all@...ts.01.org
Subject: Re: [PATCH] scsi: target: tcmu: fix boolreturn.cocci warnings
On Sun, 16 May 2021 07:03:58 +0800, kernel test robot wrote:
> 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-queue, thanks!
[1/1] scsi: target: tcmu: fix boolreturn.cocci warnings
https://git.kernel.org/mkp/scsi/c/824731258b65
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists