[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210328021332.GA68309@116d7529a87d>
Date: Sun, 28 Mar 2021 10:13:32 +0800
From: kernel test robot <lkp@...el.com>
To: Konstantin Komarov <almaz.alexandrovich@...agon-software.com>,
linux-fsdevel@...r.kernel.org
Cc: kbuild-all@...ts.01.org, viro@...iv.linux.org.uk,
linux-kernel@...r.kernel.org, pali@...nel.org, dsterba@...e.cz,
aaptel@...e.com, willy@...radead.org, rdunlap@...radead.org,
joe@...ches.com, mark@...mstone.com
Subject: [PATCH] fs/ntfs3: fix boolreturn.cocci warnings
From: kernel test robot <lkp@...el.com>
fs/ntfs3/xattr.c:1037:8-9: WARNING: return of 0/1 in function 'ntfs_xattr_user_list' 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
CC: Konstantin Komarov <almaz.alexandrovich@...agon-software.com>
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
url: https://github.com/0day-ci/linux/commits/Konstantin-Komarov/NTFS-read-write-driver-GPL-implementation-by-Paragon-Software/20210328-054516
base: 931294922e65a23e1aad6398b9ae02df74044679
xattr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/ntfs3/xattr.c
+++ b/fs/ntfs3/xattr.c
@@ -1034,7 +1034,7 @@ out:
static bool ntfs_xattr_user_list(struct dentry *dentry)
{
- return 1;
+ return true;
}
static const struct xattr_handler ntfs_xattr_handler = {
Powered by blists - more mailing lists