misc/sgi-xp: use NULL instead of using plain integer as pointer
PATCH 1/1 misc/sgi-xp: use NULL instead of using plain integer as pointer
This fixes the following sparse warnings:drivers/misc/sgi-xp/xpc_main.c:210:23: warning: Using plain integer as NULL pointer
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/misc/sgi-xp/xpc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/sgi-xp/xpc_main.c +1 -1
@@ -207,7 +207,7 @@ { xpc_arch_ops.heartbeat_init ();timer_setup (&xpc_hb_timer, xpc_hb_beater,0 ); -xpc_hb_beater (0 ); +xpc_hb_beater (NULL ); } static void
Signature · 1 line
1.8.3.1
Reviewed-by Steve Wahl <[email protected]>
Quoted 26 lines · Yang Li
This fixes the following sparse warnings:
drivers/misc/sgi-xp/xpc_main.c:210:23: warning: Using plain integer as NULL pointerReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/misc/sgi-xp/xpc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/misc/sgi-xp/xpc_main.c +1
-1@@ -207,7 +207,7 @@ { xpc_arch_ops.heartbeat_init ();timer_setup (&xpc_hb_timer, xpc_hb_beater,0 ); -xpc_hb_beater (0 ); +xpc_hb_beater (NULL ); } static voidSignature · 1 line
1.8.3.1
Signature · 1 line
Steve Wahl, Hewlett Packard Enterprise