Re: [PATCH] v4l: make sure drivers supply a zeroed struct v4l2_subdev

2011-04-27 Thread Mauro Carvalho Chehab
Em 27-04-2011 03:39, Hans Verkuil escreveu: > On Saturday, April 02, 2011 10:05:57 Hans Verkuil wrote: >> On Friday, April 01, 2011 19:12:02 Herton Ronaldo Krzesinski wrote: >>> Some v4l drivers currently don't initialize their struct v4l2_subdev >>> with zeros, and this is a problem since some of

Re: [PATCH] v4l: make sure drivers supply a zeroed struct v4l2_subdev

2011-04-26 Thread Hans Verkuil
On Saturday, April 02, 2011 10:05:57 Hans Verkuil wrote: > On Friday, April 01, 2011 19:12:02 Herton Ronaldo Krzesinski wrote: > > Some v4l drivers currently don't initialize their struct v4l2_subdev > > with zeros, and this is a problem since some of the v4l2 code expects > > this. One example is

Re: [PATCH] v4l: make sure drivers supply a zeroed struct v4l2_subdev

2011-04-02 Thread Hans Verkuil
On Friday, April 01, 2011 19:12:02 Herton Ronaldo Krzesinski wrote: > Some v4l drivers currently don't initialize their struct v4l2_subdev > with zeros, and this is a problem since some of the v4l2 code expects > this. One example is the addition of internal_ops in commit 45f6f84, > after that we a

[PATCH] v4l: make sure drivers supply a zeroed struct v4l2_subdev

2011-04-01 Thread Herton Ronaldo Krzesinski
Some v4l drivers currently don't initialize their struct v4l2_subdev with zeros, and this is a problem since some of the v4l2 code expects this. One example is the addition of internal_ops in commit 45f6f84, after that we are at risk of random oopses with these drivers when code in v4l2_device_regi