xfs; fix xfs_da_args sparse warning in xfs_readdir
PATCH 1/1 xfs; fix xfs_da_args sparse warning in xfs_readdir
From: Dave Chinner <[email protected]>
The kbuild test robot reported:
Quoted 1 line
Quoted 1 line
fs/xfs/xfs_dir2_readdir.c:672:41: sparse: Using plain integer as NULL pointer
Fix it.
Reported-by kbuild test robot <[email protected]>
Signed-off-by Dave Chinner <[email protected]>
--- fs/xfs/xfs_dir2_readdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_dir2_readdir.c +1 -1
@@ -669,7 +669,7 @@ xfs_readdir( struct dir_context *ctx, size_t bufsize) { -struct xfs_da_args args = {0 }; +struct xfs_da_args args = {NULL };int rval;int v;uint lock_mode;
Signature · 6 lines
2.0.0 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 11 lines · Dave Chinner
From: Dave Chinner <[email protected]>
The kbuild test robot reported:
Quoted 1 line
Quoted 1 line
fs/xfs/xfs_dir2_readdir.c:672:41: sparse: Using plain integer as NULL pointerFix it.
Reported-by kbuild test robot <[email protected]>Signed-off-by Dave Chinner <[email protected]>---
Reviewed-by Brian Foster <[email protected]>
Quoted 23 lines
fs/xfs/xfs_dir2_readdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/xfs/xfs_dir2_readdir.c +1
-1@@ -669,7 +669,7 @@ xfs_readdir( struct dir_context *ctx, size_t bufsize) { -struct xfs_da_args args = {0 }; +struct xfs_da_args args = {NULL };int rval;int v;uint lock_mode;Signature · 6 lines
2.0.0 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs