Re: [PATCH v3 27/48] v4l: Validate fields in the core code for subdev EDID ioctls

2014-03-11 Thread Hans Verkuil
On 03/11/2014 05:24 PM, Laurent Pinchart wrote: > Hi Hans, > > On Tuesday 11 March 2014 17:11:07 Hans Verkuil wrote: >> On 03/11/2014 05:08 PM, Laurent Pinchart wrote: >>> Hi Hans, >>> >>> On Tuesday 11 March 2014 16:44:27 Hans Verkuil wrote: On 03/11/2014 04:09 PM, Laurent Pinchart wrote: >>

Re: [PATCH v3 27/48] v4l: Validate fields in the core code for subdev EDID ioctls

2014-03-11 Thread Laurent Pinchart
Hi Hans, On Tuesday 11 March 2014 17:11:07 Hans Verkuil wrote: > On 03/11/2014 05:08 PM, Laurent Pinchart wrote: > > Hi Hans, > > > > On Tuesday 11 March 2014 16:44:27 Hans Verkuil wrote: > >> On 03/11/2014 04:09 PM, Laurent Pinchart wrote: > >>> The subdev EDID ioctls receive a pad field that mu

Re: [PATCH v3 27/48] v4l: Validate fields in the core code for subdev EDID ioctls

2014-03-11 Thread Hans Verkuil
On 03/11/2014 05:08 PM, Laurent Pinchart wrote: > Hi Hans, > > On Tuesday 11 March 2014 16:44:27 Hans Verkuil wrote: >> On 03/11/2014 04:09 PM, Laurent Pinchart wrote: >>> The subdev EDID ioctls receive a pad field that must reference an >>> existing pad and an EDID field that must point to a buff

Re: [PATCH v3 27/48] v4l: Validate fields in the core code for subdev EDID ioctls

2014-03-11 Thread Laurent Pinchart
Hi Hans, On Tuesday 11 March 2014 16:44:27 Hans Verkuil wrote: > On 03/11/2014 04:09 PM, Laurent Pinchart wrote: > > The subdev EDID ioctls receive a pad field that must reference an > > existing pad and an EDID field that must point to a buffer. Validate > > both fields in the core code instead o

Re: [PATCH v3 27/48] v4l: Validate fields in the core code for subdev EDID ioctls

2014-03-11 Thread Hans Verkuil
On 03/11/2014 04:09 PM, Laurent Pinchart wrote: > The subdev EDID ioctls receive a pad field that must reference an > existing pad and an EDID field that must point to a buffer. Validate > both fields in the core code instead of duplicating validation in all > drivers. > > Signed-off-by: Laurent P

[PATCH v3 27/48] v4l: Validate fields in the core code for subdev EDID ioctls

2014-03-11 Thread Laurent Pinchart
The subdev EDID ioctls receive a pad field that must reference an existing pad and an EDID field that must point to a buffer. Validate both fields in the core code instead of duplicating validation in all drivers. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus --- drivers/media/i2c/ad93