fix backport patch v2.6.32_kfifo

Message ID 1331295527-25038-1-git-send-email-gennarone@gmail.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Gianluca Gennari March 9, 2012, 12:18 p.m. UTC
  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 <gennarone@gmail.com>
---
 backports/v2.6.32_kfifo.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
  

Comments

Gianluca Gennari March 9, 2012, 12:26 p.m. UTC | #1
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Mauro Carvalho Chehab March 9, 2012, 1:26 p.m. UTC | #2
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

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_head		list;		/* to keep track of raw clients */
  	struct task_struct		*thread;
  	spinlock_t			lock;
--	struct kfifo			kfifo;		/* 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 */