From: kernel test robot <l...@intel.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.alexandrov...@paragon-software.com>
Reported-by: kernel test robot <l...@intel.com>
Signed-off-by: kernel test robot <l...@intel.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 = {

Reply via email to