Re: [PATCH][next] net: bcmgenet: return NULL rather than 0 for null pointer

2017-07-17 Thread David Miller
From: Colin King Date: Mon, 17 Jul 2017 10:07:25 +0100 > From: Colin Ian King > > Don't return plain integer 0, instead return NULL > > Fixes sparse warning: > warning: Using plain integer as NULL pointer > > Signed-off-by: Colin Ian King This does not apply cleanly to the net-next tree.

[PATCH][next] net: bcmgenet: return NULL rather than 0 for null pointer

2017-07-17 Thread Colin King
From: Colin Ian King Don't return plain integer 0, instead return NULL Fixes sparse warning: warning: Using plain integer as NULL pointer Signed-off-by: Colin Ian King --- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver