summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-09-04 13:42:00 +0530
committerJan Kara <jack@suse.cz>2012-09-04 11:59:13 +0200
commit76f59b3bf5af41c2fb60f05f5d5ec51e8138e996 (patch)
treea6c4086f217e1569d2e1392ccb52e9a55def2f49 /fs/ext3
parent378b8e1ad18e7c97832aa3771e295153c4cd2a55 (diff)
downloadop-kernel-dev-76f59b3bf5af41c2fb60f05f5d5ec51e8138e996.zip
op-kernel-dev-76f59b3bf5af41c2fb60f05f5d5ec51e8138e996.tar.gz
ext3: Replace 0 with NULL for pointer in super.c file
Fixes the following sparse warning: fs/ext3/super.c:983:45: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index d90ad05..504fb3f 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -975,7 +975,7 @@ static int parse_options (char *options, struct super_block *sb,
* Initialize args struct so we know whether arg was
* found; some options take optional arguments.
*/
- args[0].to = args[0].from = 0;
+ args[0].to = args[0].from = NULL;
token = match_token(p, tokens, args);
switch (token) {
case Opt_bsd_df:
OpenPOWER on IntegriCloud