diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2015-08-31 08:56:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-09-25 17:20:25 -0300 |
commit | 655e9780ab913a3a06d4a164d55e3b755524186d (patch) | |
tree | 6c851f87a0a7596e3a580273e1931aa37caf6199 /drivers/media/v4l2-core/videobuf-vmalloc.c | |
parent | 63ab664cebe5bbfd530d46ed7439e43aa4d45227 (diff) | |
download | blackbird-op-linux-655e9780ab913a3a06d4a164d55e3b755524186d.tar.gz blackbird-op-linux-655e9780ab913a3a06d4a164d55e3b755524186d.zip |
[media] v4l2-compat-ioctl32: fix alignment for ARM64
Alignment/padding rules on AMD64 and ARM64 differs. To allow properly match
compatible ioctls on ARM64 kernels without breaking AMD64 some fields
should be aligned using compat_s64 type and in one case struct should be
unpacked.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Cc: <stable@vger.kernel.org> # for v3.10 and up
[hans.verkuil@cisco.com: use compat_u64 instead of compat_s64 in v4l2_input32]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/v4l2-core/videobuf-vmalloc.c')
0 files changed, 0 insertions, 0 deletions