zoran: cleanup pointer condition
PATCH 1/1 zoran: cleanup pointer condition
From: Márton Németh <[email protected]>
Remove the following sparse warning (see "make C=1"):
* warning: Using plain integer as NULL pointer
Signed-off-by Márton Németh <[email protected]>
---
linux/drivers/media/video/zoran/zoran_driver.c +1 -1
@@ -325,7 +325,7 @@/* Allocate fragment table for this buffer */ mem = (void *)get_zeroed_page (GFP_KERNEL ); -if (mem ==0 ) { +if (!mem) { dprintk(1, KERN_ERR "%s: %s - get_zeroed_page (frag_tab) failed for buffer %d\n",