* [GIT PULL FOR v3.5] Three small improvements
@ 2012-05-14 14:37 Hans Verkuil
2012-05-14 14:47 ` Laurent Pinchart
0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2012-05-14 14:37 UTC (permalink / raw)
To: linux-media; +Cc: Laurent Pinchart
Hi Mauro, Laurent,
I hope that these three patches address the comments Laurent made.
The only remaining item is to take the ioctl lock after copy_from user is
called. But that's for 3.6.
Regards,
Hans
The following changes since commit e89fca923f32de26b69bf4cd604f7b960b161551:
[media] gspca - ov534: Add Hue control (2012-05-14 09:48:00 -0300)
are available in the git repository at:
git://linuxtv.org/hverkuil/media_tree.git update
for you to fetch changes up to 308cb1f20bcaba72c8234794479cf8962c13032f:
v4l2-dev: rename two functions. (2012-05-14 16:32:48 +0200)
----------------------------------------------------------------
Hans Verkuil (3):
v4l2-framework.txt: update the core lock documentation.
v4l2-dev.h: add comment not to use V4L2_FL_LOCK_ALL_FOPS in new drivers.
v4l2-dev: rename two functions.
Documentation/video4linux/v4l2-framework.txt | 18 +++++++++---------
drivers/media/video/gspca/gspca.c | 6 +++---
drivers/media/video/pwc/pwc-if.c | 6 +++---
drivers/media/video/v4l2-dev.c | 2 +-
include/media/v4l2-dev.h | 12 ++++++------
sound/i2c/other/tea575x-tuner.c | 2 +-
6 files changed, 23 insertions(+), 23 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL FOR v3.5] Three small improvements
2012-05-14 14:37 [GIT PULL FOR v3.5] Three small improvements Hans Verkuil
@ 2012-05-14 14:47 ` Laurent Pinchart
2012-05-14 15:57 ` Hans Verkuil
0 siblings, 1 reply; 3+ messages in thread
From: Laurent Pinchart @ 2012-05-14 14:47 UTC (permalink / raw)
To: Hans Verkuil; +Cc: linux-media
Hi Hans,
On Monday 14 May 2012 16:37:23 Hans Verkuil wrote:
> Hi Mauro, Laurent,
>
> I hope that these three patches address the comments Laurent made.
Thank you. There's a typo in the first patch:
"Otherwise you give it a pointer to a struct mutex_lock and the unlocked_ioctl
file operation is called this lock will be taken by the core and released
afterwards. See the next section for more details."
I suppose it should read "... and *before* the unlocked_ioctl ...".
The rest looks OK to me (you haven't renamed valid_ioctls to invalid_ioctls,
but I suppose that was on purpose).
> The only remaining item is to take the ioctl lock after copy_from user is
> called. But that's for 3.6.
>
> Regards,
>
> Hans
>
> The following changes since commit e89fca923f32de26b69bf4cd604f7b960b161551:
>
> [media] gspca - ov534: Add Hue control (2012-05-14 09:48:00 -0300)
>
> are available in the git repository at:
>
> git://linuxtv.org/hverkuil/media_tree.git update
>
> for you to fetch changes up to 308cb1f20bcaba72c8234794479cf8962c13032f:
>
> v4l2-dev: rename two functions. (2012-05-14 16:32:48 +0200)
>
> ----------------------------------------------------------------
> Hans Verkuil (3):
> v4l2-framework.txt: update the core lock documentation.
> v4l2-dev.h: add comment not to use V4L2_FL_LOCK_ALL_FOPS in new
> drivers. v4l2-dev: rename two functions.
>
> Documentation/video4linux/v4l2-framework.txt | 18 +++++++++---------
> drivers/media/video/gspca/gspca.c | 6 +++---
> drivers/media/video/pwc/pwc-if.c | 6 +++---
> drivers/media/video/v4l2-dev.c | 2 +-
> include/media/v4l2-dev.h | 12 ++++++------
> sound/i2c/other/tea575x-tuner.c | 2 +-
> 6 files changed, 23 insertions(+), 23 deletions(-)
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL FOR v3.5] Three small improvements
2012-05-14 14:47 ` Laurent Pinchart
@ 2012-05-14 15:57 ` Hans Verkuil
0 siblings, 0 replies; 3+ messages in thread
From: Hans Verkuil @ 2012-05-14 15:57 UTC (permalink / raw)
To: Laurent Pinchart; +Cc: linux-media
On Mon May 14 2012 16:47:19 Laurent Pinchart wrote:
> Hi Hans,
>
> On Monday 14 May 2012 16:37:23 Hans Verkuil wrote:
> > Hi Mauro, Laurent,
> >
> > I hope that these three patches address the comments Laurent made.
>
> Thank you. There's a typo in the first patch:
>
> "Otherwise you give it a pointer to a struct mutex_lock and the unlocked_ioctl
> file operation is called this lock will be taken by the core and released
> afterwards. See the next section for more details."
>
> I suppose it should read "... and *before* the unlocked_ioctl ...".
Indeed. Fixed in my git repository.
> The rest looks OK to me (you haven't renamed valid_ioctls to invalid_ioctls,
> but I suppose that was on purpose).
Yes, that was on purpose. I am not planning to change that.
Regards,
Hans
>
> > The only remaining item is to take the ioctl lock after copy_from user is
> > called. But that's for 3.6.
> >
> > Regards,
> >
> > Hans
> >
> > The following changes since commit e89fca923f32de26b69bf4cd604f7b960b161551:
> >
> > [media] gspca - ov534: Add Hue control (2012-05-14 09:48:00 -0300)
> >
> > are available in the git repository at:
> >
> > git://linuxtv.org/hverkuil/media_tree.git update
> >
> > for you to fetch changes up to 308cb1f20bcaba72c8234794479cf8962c13032f:
> >
> > v4l2-dev: rename two functions. (2012-05-14 16:32:48 +0200)
> >
> > ----------------------------------------------------------------
> > Hans Verkuil (3):
> > v4l2-framework.txt: update the core lock documentation.
> > v4l2-dev.h: add comment not to use V4L2_FL_LOCK_ALL_FOPS in new
> > drivers. v4l2-dev: rename two functions.
> >
> > Documentation/video4linux/v4l2-framework.txt | 18 +++++++++---------
> > drivers/media/video/gspca/gspca.c | 6 +++---
> > drivers/media/video/pwc/pwc-if.c | 6 +++---
> > drivers/media/video/v4l2-dev.c | 2 +-
> > include/media/v4l2-dev.h | 12 ++++++------
> > sound/i2c/other/tea575x-tuner.c | 2 +-
> > 6 files changed, 23 insertions(+), 23 deletions(-)
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-14 15:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 14:37 [GIT PULL FOR v3.5] Three small improvements Hans Verkuil
2012-05-14 14:47 ` Laurent Pinchart
2012-05-14 15:57 ` Hans Verkuil
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.