summaryrefslogtreecommitdiffstats
path: root/drivers/media/test-drivers/vivid/vivid-vid-out.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-10-30 17:55:25 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-16 10:31:06 +0100
commit00af58fd9a20556a25deb85f32085f82c697c178 (patch)
treed325300d1b9a66d193fcb1043cab313360e3d5b2 /drivers/media/test-drivers/vivid/vivid-vid-out.c
parent6c9361e739a549742a39d8372f37add56e343604 (diff)
downloadlinux-00af58fd9a20556a25deb85f32085f82c697c178.tar.bz2
media: v4l2: move compat handling for v4l2_buffer
The ioctl commands based on v4l2_buffer have two sets of compat calls, one for native time32 structures, and one for compat structures on 64-bit architectures. Change the compat version to use the same approach as the other simpler one, for both versions of the structure. In an earlier version of the patch, I unified the v4l2_buffer_time32 and v4l2_buffer32_time32 compatibility handling into a single implementation, but that relied on having it all in one file, rather than having the in_compat_syscall() version in v4l2-compat-ioctl32.c. [hverkuil: fix various trivial checkpatch issues] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/test-drivers/vivid/vivid-vid-out.c')
0 files changed, 0 insertions, 0 deletions