From: Márton Németh <nm127@xxxxxxxxxxx> Remove the following sparse warning (see "make C=1"): * warning: Using plain integer as NULL pointer Signed-off-by: Márton Németh <nm127@xxxxxxxxxxx> --- diff -r 5bcdcc072b6d linux/drivers/media/video/zoran/zoran_driver.c --- a/linux/drivers/media/video/zoran/zoran_driver.c Sat Jan 16 07:25:43 2010 +0100 +++ b/linux/drivers/media/video/zoran/zoran_driver.c Sat Jan 16 09:03:31 2010 +0100 @@ -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", -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html