staging:wlags49_h2: Fix sparse warnings in sta_h25.c
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 7 Nov 2013 22:42:41 +0000 (04:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 20:24:30 +0000 (12:24 -0800)
This patch fixes sparse warnings "Using plain integer as NULL pointer" in
sta_h25.c

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/sta_h25.c

index 5b6f670d8ef2217b44db95754920c376cdc9cc0a..eccd780ef135ff96c089ad2206e420722700611c 100644 (file)
@@ -5211,7 +5211,7 @@ static const CFG_PROG_STRCT fw_image_code[] = {
                0000,
        0x000F429B,                                     // 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[] = {
@@ -5247,8 +5247,8 @@ memimage fw_image = {
        "FUPU7D37dhfwci\001C",                  //signature, <format number>, C/Bin type
        (CFG_PROG_STRCT *) fw_image_code,
        0x000F429B,
-       00000000,                                       //(dummy) pdaplug
-       00000000,                                       //(dummy) priplug
+       NULL,                                   //(dummy) pdaplug
+       NULL,                                   //(dummy) priplug
        (CFG_RANGE20_STRCT *) fw_image_infocompat,
        (CFG_IDENTITY_STRCT *) fw_image_infoidentity,
 };