[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190506212327.6480-1-bnvandana@gmail.com>
Date: Tue, 7 May 2019 02:53:27 +0530
From: Vandana BN <bnvandana@...il.com>
To: richard@....at, dedekind1@...il.com, adrian.hunter@...el.com,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Vandana BN <bnvandana@...il.com>
Subject: [PATCH] fs: ubifs: Resolve sparse warning for using plain integer as NULL pointer
fs/ubifs/xattr.c:615:58: warning: Using plain integer as NULL pointer
Signed-off-by: Vandana BN <bnvandana@...il.com>
---
fs/ubifs/xattr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c
index f5ad1ede7990..066a5666c50f 100644
--- a/fs/ubifs/xattr.c
+++ b/fs/ubifs/xattr.c
@@ -612,7 +612,7 @@ int ubifs_init_security(struct inode *dentry, struct inode *inode,
int err;
err = security_inode_init_security(inode, dentry, qstr,
- &init_xattrs, 0);
+ &init_xattrs, NULL);
if (err) {
struct ubifs_info *c = dentry->i_sb->s_fs_info;
ubifs_err(c, "cannot initialize security for inode %lu, error %d",
--
2.17.1
Powered by blists - more mailing lists