Thread (24 messages) 24 messages, 3 authors, 2015-11-09

Re: [PATCH v2 8/9] [media] handle 64-bit time_t in v4l2_buffer

From: Arnd Bergmann <arnd@arndb.de>
Date: 2015-09-18 10:15:09
Also in: linux-media, linux-samsung-soc, lkml

On Friday 18 September 2015 11:49:50 Hans Verkuil wrote:
*If* the conversion takes place only in v4l2-ioctl.c, then it makes sense
have these structs + ioctls moved to v4l2-ioctl.h.
Ok.
 
I noticed that v4l2-compat-ioctl32.c wasn't changed. Is that right? I have
unfortunately no time to double-check that, but it surprised me.
Yes, I pointed that out in the cover letter as something that is still
left to be done. If we end up taking the current approach (plus the
change to the location of the conversion), the compat code would
basically be duplicated.

Alternatively, the video_usercopy() function could just be changed
to handle both 32-bit formats directly (including conversion of the
multiplane array) and then we can remove that compat handler for
all eight ioctls.

	Arnd
_______________________________________________
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help