[lkml]   [2004]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 1/6] v4l: yet another video-buf interface update
On Mon, Nov 08, 2004 at 01:52:22PM -0800, Andrew Morton wrote:
> Gerd Knorr <> wrote:
> >
> > This is one more interface fix for the video-buf.c module, the first
> > attempt on that wasn't that clever. Instead of passing the driver
> > private data through all function calls I've just made that an element
> > of the videobuf_queue struct which is passed around everythere _anyway_.
> This patch throws a reject in videobuf_vm_close() because it's expecting
> map->q->ops->buf_release(vma->vm_file,map->q->bufs[i]);
> and not
> map->q->ops->buf_release(vma->vm_file->private_data,map->q->bufs[i]);
> I'll fix things up, but please check that.

Someone (Peter Osterlund IIRC) mailed a patch with the "vma->vm_file" =>
"vma->vm_file->private_data" fix to lkml. Thats actually the place I
forgot on the first attempt and which causes the tvtime crashes
mentioned in the changelog.

My patches are built against a fresh linus bk tree, not against -mm, so
its probably just that patch being merged into -mm which causes the
rejects. No problem, my patch obsoletes this one-liner fix.


#define printk(args...) fprintf(stderr, ## args)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.057 / U:21.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site