]> Pileus Git - ~andy/linux/commitdiff
staging: cxt1e1: sbeproc.c: Use NULL instead of 0
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 27 Sep 2013 04:06:32 +0000 (09:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 01:48:40 +0000 (18:48 -0700)
Pointers should be assigned NULL instead of 0.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/sbeproc.c

index 9361dd8ce1255b6d7a4afa356bd477b219774296..353c001d3fbeec2f7f836c131a1181a2b3a9bf82 100644 (file)
@@ -44,7 +44,7 @@ void sbecom_proc_brd_cleanup(ci_t *ci)
 static void sbecom_proc_get_brdinfo(ci_t *ci, struct sbe_brd_info *bip)
 {
        hdw_info_t *hi = &hdw_info[ci->brdno];
-       u_int8_t *bsn = 0;
+       u_int8_t *bsn = NULL;
 
        switch (hi->promfmt)
        {