From: kernel test robot fs/ext4/namei.c:1428:12-13: WARNING: return of 0/1 in function 'ext4_match' 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 Fixes: b10c4acd41e8 ("ANDROID: ext4: Handle casefolding with encryption") Signed-off-by: kernel test robot --- tree: https://android.googlesource.com/kernel/common android-4.14-stable head: 6ccc4309743b5cd821584d30fc971dd375bb976c commit: b10c4acd41e8b15cff1119e2100adf36b013b840 [1/2] ANDROID: ext4: Handle casefolding with encryption namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -1425,7 +1425,7 @@ static bool ext4_match(struct inode *par if (hinfo.hash != EXT4_DIRENT_HASH(de) || hinfo.minor_hash != EXT4_DIRENT_MINOR_HASH(de)) - return 0; + return false; } return !ext4_ci_compare(parent, &cf, de->name, de->name_len, true);