All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bttv kernel BUG at drivers/media/video/video-buf.c:378!
       [not found] ` <20031020121858.GA31030@gondor.apana.org.au>
@ 2003-10-20 13:27   ` Gerd Knorr
  0 siblings, 0 replies; only message in thread
From: Gerd Knorr @ 2003-10-20 13:27 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Linus Torvalds, 216547, Kernel List

On Mon, Oct 20, 2003 at 10:18:58PM +1000, Herbert Xu wrote:
> reassign 216547 kernel
> quit
> 
> Hi Gerd:
> 
> It looks like the your v4l update two weeks broke bttv.  Here is
> a crash dump.  videobuf_iolock was passed a vb that has just been
> filled with zeros.

> [ BUG in video-buf.c triggered -- oops log cutted ]

Fix below, please apply,

  Gerd

--- linux/drvers/media/video/bttv-driver.c.fix	2003-10-20 12:48:38.000000000 +0200
+++ linux/drvers/media/video/bttv-driver.c	2003-10-20 15:07:24.346278761 +0200
@@ -2819,6 +2819,7 @@
 				up(&fh->cap.lock);
 				return POLLERR;
 			}
+			fh->cap.read_buf->memory = V4L2_MEMORY_USERPTR;
 			field = videobuf_next_field(&fh->cap);
 			if (0 != fh->cap.ops->buf_prepare(file,fh->cap.read_buf,field)) {
 				up(&fh->cap.lock);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-20 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1ABFJd-0000qT-1o@jophur>
     [not found] ` <20031020121858.GA31030@gondor.apana.org.au>
2003-10-20 13:27   ` [PATCH] bttv kernel BUG at drivers/media/video/video-buf.c:378! Gerd Knorr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.