* [PATCH 4/6] reiserfs: fix sparse warnings in lbalance.c
@ 2008-02-18 20:52 Harvey Harrison
0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-02-18 20:52 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML
fs/reiserfs/lbalance.c:629:2: warning: Using plain integer as NULL pointer
fs/reiserfs/lbalance.c:629:2: warning: Using plain integer as NULL pointer
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
fs/reiserfs/lbalance.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/reiserfs/lbalance.c b/fs/reiserfs/lbalance.c
index 281f806..2837c06 100644
--- a/fs/reiserfs/lbalance.c
+++ b/fs/reiserfs/lbalance.c
@@ -626,7 +626,7 @@ static void leaf_define_dest_src_infos(int shift_mode, struct tree_balance *tb,
"vs-10250: leaf_define_dest_src_infos: shift type is unknown (%d)",
shift_mode);
}
- RFALSE(src_bi->bi_bh == 0 || dest_bi->bi_bh == 0,
+ RFALSE(src_bi->bi_bh == NULL || dest_bi->bi_bh == NULL,
"vs-10260: mode==%d, source (%p) or dest (%p) buffer is initialized incorrectly",
shift_mode, src_bi->bi_bh, dest_bi->bi_bh);
}
--
1.5.4.1.1278.gc75be
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-18 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-18 20:52 [PATCH 4/6] reiserfs: fix sparse warnings in lbalance.c Harvey Harrison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox