Re: [patch 1/6] v4l: yet another video-buf interface update

From: Andrew Morton
Date: Mon Nov 08 2004 - 16:52:25 EST


Gerd Knorr <kraxel@xxxxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/