Skip to contentSkip to conversation

fix backport patch v2.6.32_kfifo

PATCH In review Gianluca Gennari 2 participants 3 messages Mar 9, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix backport patch v2.6.32_kfifo

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.

---
 backports/v2.6.32_kfifo.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
backports/v2.6.32_kfifo.patch +1 -1
index 10075b9..88a435a 100644
@@ -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 */
Signature · 1 line
1.7.0.4
#1 lore raw

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

#2 lore raw

Em 09-03-2012 09:26, Gianluca Gennari escreveu:

Quoted 3 lines

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.

Quoted 3 lines

Regards,
Gianluca