public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix backport patch v2.6.32_kfifo
@ 2012-03-09 12:18 Gianluca Gennari
  2012-03-09 12:26 ` Gianluca Gennari
  0 siblings, 1 reply; 3+ messages in thread
From: Gianluca Gennari @ 2012-03-09 12:18 UTC (permalink / raw)
  To: linux-media, mchehab; +Cc: 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 <gennarone@gmail.com>
---
 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_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 */
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix backport patch v2.6.32_kfifo
  2012-03-09 12:18 [PATCH] fix backport patch v2.6.32_kfifo Gianluca Gennari
@ 2012-03-09 12:26 ` Gianluca Gennari
  2012-03-09 13:26   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Gianluca Gennari @ 2012-03-09 12:26 UTC (permalink / raw)
  To: linux-media, mchehab

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix backport patch v2.6.32_kfifo
  2012-03-09 12:26 ` Gianluca Gennari
@ 2012-03-09 13:26   ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2012-03-09 13:26 UTC (permalink / raw)
  To: gennarone; +Cc: linux-media

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-09 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-09 12:18 [PATCH] fix backport patch v2.6.32_kfifo Gianluca Gennari
2012-03-09 12:26 ` Gianluca Gennari
2012-03-09 13:26   ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox