Staging: wlags49_h2: Fix sparse warnings in sta_h2.c
authorMonam Agarwal <monamagarwal123@gmail.com>
Tue, 4 Mar 2014 12:27:31 +0000 (17:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 22:51:35 +0000 (14:51 -0800)
This patch fixes sparse warnings "Using plain integer as NULL pointer" in
sta_h2.c

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/sta_h2.c

index 25ac76f7d366ea70468fb7819e84bdfb05cae5bf..0ba8defc023a23949de27def3d6f71a70c24d536 100644 (file)
@@ -4435,7 +4435,7 @@ static const CFG_PROG_STRCT fw_image_code[] = {
                0000,
        0x000F368E,     /* Start execution address */
        },
-       { 0000, 0000, 0000, 0000, 00000000, 0000, 00000000}
+       { 0000, 0000, 0000, 0000, 00000000, 0000, NULL}
 };
 
 static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
This page took 0.042426 seconds and 5 git commands to generate.