This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-dvb.git tree:

Subject: V4L/DVB: vivi and mem2mem_testdev need slab.h to build
Author:  Randy Dunlap <[email protected]>
Date:    Fri May 7 15:22:26 2010 -0300

Fix vivi and mem2mem_testdev build errors: need to #include <linux/slab.h>:

drivers/media/video/vivi.c:1144: error: implicit declaration of function 'kfree'
drivers/media/video/vivi.c:1156: error: implicit declaration of function 
'kzalloc'
drivers/media/video/vivi.c:1156: warning: assignment makes pointer from integer 
without a cast
drivers/media/video/mem2mem_testdev.c:862: error: implicit declaration of 
function 'kzalloc'
drivers/media/video/mem2mem_testdev.c:862: warning: assignment makes pointer 
from integer without a cast
drivers/media/video/mem2mem_testdev.c:874: error: implicit declaration of 
function 'kfree'
drivers/media/video/mem2mem_testdev.c:944: warning: assignment makes pointer 
from integer without a cast

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/video/mem2mem_testdev.c |    1 +
 drivers/media/video/vivi.c            |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=4fcfa8824391ef0f9cff82122067f31c6d920921

diff --git a/drivers/media/video/mem2mem_testdev.c 
b/drivers/media/video/mem2mem_testdev.c
index b161d26..554eaf1 100644
--- a/drivers/media/video/mem2mem_testdev.c
+++ b/drivers/media/video/mem2mem_testdev.c
@@ -22,6 +22,7 @@
 #include <linux/version.h>
 #include <linux/timer.h>
 #include <linux/sched.h>
+#include <linux/slab.h>
 
 #include <linux/platform_device.h>
 #include <media/v4l2-mem2mem.h>
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c
index d5e30b8..e17b6fe 100644
--- a/drivers/media/video/vivi.c
+++ b/drivers/media/video/vivi.c
@@ -17,6 +17,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/sched.h>
+#include <linux/slab.h>
 #include <linux/font.h>
 #include <linux/version.h>
 #include <linux/mutex.h>

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to