]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: nGene: use NULL when pointer is needed
authorMárton Németh <nm127@freemail.hu>
Sun, 28 Feb 2010 14:34:35 +0000 (11:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:24 +0000 (00:46 -0300)
commit431abce3dd6f88afd4841bf6a168577f4845d3a8
treee2c763d2c5c97f0d60e8228ea42153a3af7590ad
parent927f6f9fc41ae8137d5c5f3fdeaa5bb287df34f7
V4L/DVB: nGene: use NULL when pointer is needed

Use NULL when calling a function with pointer parameter, initializing a
pointer and returning a pointer. This will remove the following sparse
warning at different locations (see "make C=1"):
 * warning: Using plain integer as NULL pointer

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ngene/ngene-core.c