* [PATCH] reiserfs: use NULL instead of 0
@ 2005-03-15 0:04 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2005-03-15 0:04 UTC (permalink / raw)
To: lkml; +Cc: akpm
(resend)
Use NULL instead of 0 for pointer (sparse warning):
fs/reiserfs/namei.c:611:50: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
fs/reiserfs/namei.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./fs/reiserfs/namei.c~reiserfs_null ./fs/reiserfs/namei.c
--- ./fs/reiserfs/namei.c~reiserfs_null 2005-02-15 13:48:46.327310224 -0800
+++ ./fs/reiserfs/namei.c 2005-02-15 20:53:22.903281976 -0800
@@ -608,7 +608,7 @@ static int reiserfs_create (struct inode
goto out_failed;
}
- retval = reiserfs_new_inode (&th, dir, mode, 0, 0/*i_size*/, dentry, inode);
+ retval = reiserfs_new_inode (&th, dir, mode, NULL, 0/*i_size*/, dentry, inode);
if (retval)
goto out_failed;
---
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-15 0:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-15 0:04 [PATCH] reiserfs: use NULL instead of 0 Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®