From: Randy Dunlap <[EMAIL PROTECTED]>
Use NULL instead of 0 for pointers.
fs/reiser4/plugin/item/ctail.c:1188:38: warning: Using plain integer as NULL
pointer
Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
---
fs/reiser4/plugin/item/ctail.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.19-rc6-mm2.orig/fs/reiser4/plugin/item/ctail.c
+++ linux-2.6.19-rc6-mm2/fs/reiser4/plugin/item/ctail.c
@@ -1185,7 +1185,7 @@ static int alloc_convert_data(flush_pos_
if (!pos->sq)
return RETERR(-ENOMEM);
memset(pos->sq, 0, sizeof(*pos->sq));
- cluster_init_write(&pos->sq->clust, 0);
+ cluster_init_write(&pos->sq->clust, NULL);
return 0;
}
---
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html