Re: [PATCH linux-next] ext4:namei: fix boolreturn.cocci warnings
From: Theodore Ts'o
Date: Thu Oct 28 2021 - 10:52:45 EST
On Mon, 23 Aug 2021 22:55:43 -0700, CGEL wrote:
> From: Jing Yangyang <jing.yangyang@xxxxxxxxxx>
>
> Return statements in functions returning bool should use true/false
> instead of 1/0.
>
> ./fs/ext4/namei.c:1441:12-13:WARNING:return of 0/1 in function
> 'ext4_match' with return type bool
>
> [...]
Applied, thanks!
[1/1] ext4:namei: fix boolreturn.cocci warnings
commit: 79f75ac803a444eef5627b631e068fc442df3204
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>