Re: [PATCH,RFC] Drop non-unlocked ioctl support in v4l2-dev.c

2009-08-07 Thread Hans Verkuil
On Friday 07 August 2009 13:03:22 Laurent Pinchart wrote: > Hi Hans, > > On Thursday 06 August 2009 17:16:08 Hans Verkuil wrote: > > Hi Laurent, > > > > > Hi everybody, > > > > > > this patch moves the BKL one level down by removing the non-unlocked > > > ioctl in v4l2-dev.c and calling lock_kerne

Re: [PATCH,RFC] Drop non-unlocked ioctl support in v4l2-dev.c

2009-08-07 Thread Laurent Pinchart
Hi Hans, On Thursday 06 August 2009 17:16:08 Hans Verkuil wrote: > Hi Laurent, > > > Hi everybody, > > > > this patch moves the BKL one level down by removing the non-unlocked > > ioctl in v4l2-dev.c and calling lock_kernel/unlock_kernel in the > > unlocked_ioctl handler if the driver only support

Re: [PATCH,RFC] Drop non-unlocked ioctl support in v4l2-dev.c

2009-08-06 Thread Hans Verkuil
Hi Laurent, > Hi everybody, > > this patch moves the BKL one level down by removing the non-unlocked ioctl > in > v4l2-dev.c and calling lock_kernel/unlock_kernel in the unlocked_ioctl > handler > if the driver only supports locked ioctl. > > Opinions/comments/applause/kicks ? I've been thinking

[PATCH,RFC] Drop non-unlocked ioctl support in v4l2-dev.c

2009-08-06 Thread Laurent Pinchart
Hi everybody, this patch moves the BKL one level down by removing the non-unlocked ioctl in v4l2-dev.c and calling lock_kernel/unlock_kernel in the unlocked_ioctl handler if the driver only supports locked ioctl. Opinions/comments/applause/kicks ? Regards, Laurent Pinchart diff -r 4533a406fddb