]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
media: staging: media: tegra-vde: Manually pack UAPI structures
authorDmitry Osipenko <digetx@gmail.com>
Sun, 2 Jun 2019 21:37:10 +0000 (17:37 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 21:24:05 +0000 (17:24 -0400)
commitb1b9b7bee370b552517efed60b41228838364e14
tree8703d5504d72baa5e3ce5bd417c296dc59519ab9
parent0f8cd165287bf777da3280e7cda8f51d9c3ed624
media: staging: media: tegra-vde: Manually pack UAPI structures

The __packed macro isn't available in userspace with the kernel headers.
Checkpatch asks to use the macro, which is unwanted in a case of a UAPI
header. There is no much benefit in a tight packing of the structures,
hence let's pack them manually to cleanup things a tad. Note that there
is no old-stable userspace that will suffer from this change, hence it's
fine to change the ABI. In a result also more space is reserved for a
possible future expansion of the UAPI as it was already shown that more
fields will be needed for a later SoC generations.

Suggested-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/tegra-vde/tegra-vde.c
drivers/staging/media/tegra-vde/uapi.h