Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681203

Re: [PATCH] bio-integrity: fix boolreturn.cocci warnings

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH] bio-integrity: fix boolreturn.cocci warnings
Date 2017-07-05 00:20 +0200
Message-ID <tZEkN-5Ye-3@gated-at.bofh.it> (permalink)
References <tZAAy-3tZ-15@gated-at.bofh.it> <tZAAy-3tZ-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] bio-integrity: fix boolreturn.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-07-04 20:20 +0200
  Re: [PATCH] bio-integrity: fix boolreturn.cocci warnings Jens Axboe <axboe@kernel.dk> - 2017-07-05 00:20 +0200

csiph-web