mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	216547@bugs.debian.org,
	Kernel List <linux-kernel@vger.kernel.org>
Subject: [PATCH] bttv kernel BUG at drivers/media/video/video-buf.c:378!
Date: Mon, 20 Oct 2003 15:27:53 +0200	[thread overview]
Message-ID: <20031020132725.GA28103@bytesex.org> (raw)
In-Reply-To: <20031020121858.GA31030@gondor.apana.org.au>

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);

           reply	other threads:[~2003-10-20 13:30 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20031020121858.GA31030@gondor.apana.org.au>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031020132725.GA28103@bytesex.org \
    --to=kraxel@bytesex.org \
    --cc=216547@bugs.debian.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome