Re: [PATCH] v4l: use struct v4l2_buffer explicitly instead of void *

2017-09-03 Thread Guennadi Liakhovetski
Hi Mauro, On Sun, 27 Aug 2017, Mauro Carvalho Chehab wrote: > Em Fri, 28 Jul 2017 14:45:37 +0200 (CEST) > Guennadi Liakhovetski escreveu: > > > A number of functions use void * for a struct v4l2_buffer parameter. > > Avoid that to improve compile-time checking. > > Nack. > > The videbuf2-core

Re: [PATCH] v4l: use struct v4l2_buffer explicitly instead of void *

2017-08-27 Thread Mauro Carvalho Chehab
Em Fri, 28 Jul 2017 14:45:37 +0200 (CEST) Guennadi Liakhovetski escreveu: > A number of functions use void * for a struct v4l2_buffer parameter. > Avoid that to improve compile-time checking. Nack. The videbuf2-core should be be independent of videobuf2-v4l2. The plan is to use it for DVB too.

[PATCH] v4l: use struct v4l2_buffer explicitly instead of void *

2017-07-28 Thread Guennadi Liakhovetski
A number of functions use void * for a struct v4l2_buffer parameter. Avoid that to improve compile-time checking. Signed-off-by: Guennadi Liakhovetski --- This probably was done on purpose, maybe to reuse the video buffers by other than V4L2 users, but I haven't found any, and the code doesn't