v4l2-compat-ioctl32: fix alignment for ARM64
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 1 Sep 2015 11:52:38 +0000 (13:52 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:48:01 +0000 (13:48 +0900)
commit2c4b5d656790d0c392c2dafc0f40723007758e5a
treecc93279b97768aa3a290648f3d54f2824486b18e
parent36ab1eb825b2af51557986e1e988ddd1ac930d92
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>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c