Re: [PATCH] fix backport patch v2.6.32_kfifo

2012-03-09 Thread Mauro Carvalho Chehab
Em 09-03-2012 09:26, Gianluca Gennari escreveu:
> Sorry, I forgot the [media_build] tag.
> This patch is required to fix compilation of the media_build tree on my
> Ubuntu 10.04 system with kernel 2.6.32.

Both patches applied, thanks!

Mauro.
> 
> Regards,
> Gianluca

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] fix backport patch v2.6.32_kfifo

2012-03-09 Thread Gianluca Gennari
Sorry, I forgot the [media_build] tag.
This patch is required to fix compilation of the media_build tree on my
Ubuntu 10.04 system with kernel 2.6.32.

Regards,
Gianluca
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] fix backport patch v2.6.32_kfifo

2012-03-09 Thread Gianluca Gennari
The backport patch v2.6.32_kfifo-patch collides with:
http://patchwork.linuxtv.org/patch/9914/

Moreover, struct kfifo_rec_ptr_1 is not defined in 2.6.32,
so we have to stay with the old buggy implementation.

Signed-off-by: Gianluca Gennari 
---
 backports/v2.6.32_kfifo.patch |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/backports/v2.6.32_kfifo.patch b/backports/v2.6.32_kfifo.patch
index 10075b9..88a435a 100644
--- a/backports/v2.6.32_kfifo.patch
+++ b/backports/v2.6.32_kfifo.patch
@@ -14,7 +14,7 @@
struct list_headlist;   /* to keep track of raw 
clients */
struct task_struct  *thread;
spinlock_t  lock;
--  struct kfifokfifo;  /* fifo for the 
pulse/space durations */
+-  struct kfifo_rec_ptr_1  kfifo;  /* fifo for the 
pulse/space durations */
 +  struct kfifo*kfifo; /* fifo for the 
pulse/space durations */
ktime_t last_event; /* when last event 
occurred */
enum raw_event_type last_type;  /* last event type */
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html