From: Monam Agarwal Date: Tue, 4 Mar 2014 12:27:31 +0000 (+0530) Subject: Staging: wlags49_h2: Fix sparse warnings in sta_h2.c X-Git-Tag: v3.15-rc1~139^2~568 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=54617727691100ff2b3dd74ce2658c9222e5f601;p=~emulex%2Finfiniband.git Staging: wlags49_h2: Fix sparse warnings in sta_h2.c This patch fixes sparse warnings "Using plain integer as NULL pointer" in sta_h2.c Signed-off-by: Monam Agarwal Acked-by: Paul E. McKenney Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlags49_h2/sta_h2.c b/drivers/staging/wlags49_h2/sta_h2.c index 25ac76f7d36..0ba8defc023 100644 --- a/drivers/staging/wlags49_h2/sta_h2.c +++ b/drivers/staging/wlags49_h2/sta_h2.c @@ -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[] = {