summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2012-04-17 08:41:58 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-19 11:11:33 -0300
commite245afe984b120704f15bc8d391fdb6cf96cfe0c (patch)
treecc59a7c51dcb11961bf67d113f6bc0a65b720e9b /kernel
parent52dbb57c2322d494116570cabee8d4c9658604d6 (diff)
downloadlinux-e245afe984b120704f15bc8d391fdb6cf96cfe0c.tar.gz
linux-e245afe984b120704f15bc8d391fdb6cf96cfe0c.tar.bz2
linux-e245afe984b120704f15bc8d391fdb6cf96cfe0c.zip
[media] videodev2.h: Fix VIDIOC_QUERYMENU ioctl regression
Fixes a regression in VIDIOC_QUERYMENU introduced when the __s64 value field was added to the union. On a 64-bit system this will change the size of this v4l2_querymenu structure from 44 to 48 bytes, thus breaking the ABI. By adding the packed attribute it is working again. Tested on both 64 and 32 bit systems. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions