]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wlags49_h2: Fixes the sparse warning in sta_h2.c
authorArchana kumari <archanakumari959@gmail.com>
Sat, 19 Oct 2013 14:15:11 +0000 (19:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2013 21:28:58 +0000 (14:28 -0700)
This patch fixes sparse warning "Using plain integer as NULL pointer" in
sta_h2.c

Signed-off-by: Archana kumari <archanakumari959@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/sta_h2.c

index 19bed819df1e7e6f1ee4b3f68657953d4a31f870..25ac76f7d366ea70468fb7819e84bdfb05cae5bf 100644 (file)
@@ -4472,8 +4472,8 @@ memimage fw_image = {
        "FUPU7D37dhfwci\001C",                  /* signature, <format number>, C/Bin type */
        (CFG_PROG_STRCT *) fw_image_code,
        0x000F368E,
-       00000000,                                       /* (dummy) pdaplug */
-       00000000,                                       /* (dummy) priplug */
+       NULL,                                   /* (dummy) pdaplug */
+       NULL,                                   /* (dummy) priplug */
        (CFG_RANGE20_STRCT *) fw_image_infocompat,
        (CFG_IDENTITY_STRCT *) fw_image_infoidentity,
 };