Re: [PATCH] misc/sgi-xp: use NULL instead of using plain integer as pointer

2021-03-17 Thread Steve Wahl
Reviewed-by: Steve Wahl On Tue, Mar 16, 2021 at 04:57:21PM +0800, Yang Li wrote: > 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 > Signed-off-by: Yang Li > --- > drivers/misc/sgi-x

[PATCH] misc/sgi-xp: use NULL instead of using plain integer as pointer

2021-03-16 Thread Yang Li
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 Signed-off-by: Yang Li --- drivers/misc/sgi-xp/xpc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/sgi-x