[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090305191745.30062.89094.stgit@f10box.hanneseder.net>
Date: Thu, 05 Mar 2009 20:18:05 +0100
From: Hannes Eder <hannes@...neseder.net>
To: trivial@...nel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
reiserfs-devel@...r.kernel.org
Subject: [PATCH v2 13/15] NULL noise: fs/reiserfs/inode.c
Fix this sparse warning:
fs/reiserfs/inode.c:2555:19: warning: Using plain integer as NULL pointer
Signed-off-by: Hannes Eder <hannes@...neseder.net>
---
v2: other subject, as suggested by Al Viro
fs/reiserfs/inode.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c
index 823227a..e69d63a 100644
--- a/fs/reiserfs/inode.c
+++ b/fs/reiserfs/inode.c
@@ -2552,7 +2552,7 @@ static int reiserfs_write_begin(struct file *file,
int old_ref = 0;
inode = mapping->host;
- *fsdata = 0;
+ *fsdata = NULL;
if (flags & AOP_FLAG_CONT_EXPAND &&
(pos & (inode->i_sb->s_blocksize - 1)) == 0) {
pos ++;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists