From: Guillaume Clement Date: Thu, 24 Jul 2014 23:06:28 +0000 (+0200) Subject: staging: vt6655: Remove NULL pointer sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=70ae543b3260a1cb53b30320d650effa575fa174;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: vt6655: Remove NULL pointer sparse warning We were using 0 instead of NULL to initialize a pointer, which caused a sparse warning. Signed-off-by: Guillaume Clement Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 4413e4a286c0..1e1d3b451653 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1626,7 +1626,7 @@ static void device_free_tx_buf(PSDevice pDevice, PSTxDesc pDesc) dev_kfree_skb_irq(skb); pTDInfo->skb_dma = 0; - pTDInfo->skb = 0; + pTDInfo->skb = NULL; pTDInfo->byFlags = 0; }