From: Hans Verkuil Date: Tue, 17 Apr 2012 11:41:58 +0000 (-0300) Subject: [media] videodev2.h: Fix VIDIOC_QUERYMENU ioctl regression X-Git-Tag: v3.5-rc1~104^2~393 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e245afe984b120704f15bc8d391fdb6cf96cfe0c;p=pandora-kernel.git [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 Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed