[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fc2b35cb-36cf-2c6a-c976-4b2c9bef9761@kernel.dk>
Date: Tue, 4 Jul 2017 16:12:14 -0600
From: Jens Axboe <axboe@...nel.dk>
To: kbuild test robot <fengguang.wu@...el.com>,
Dmitry Monakhov <dmonakhov@...nvz.org>
Cc: kbuild-all@...org,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Christoph Hellwig <hch@....de>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bio-integrity: fix boolreturn.cocci warnings
On 07/04/2017 12:14 PM, kbuild test robot wrote:
> block/bio-integrity.c:318:10-11: WARNING: return of 0/1 in function 'bio_integrity_prep' 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
Thanks, applied.
--
Jens Axboe
Powered by blists - more mailing lists