提交 f251d23e 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (4342): Fix ext_controls align on 64 bit architectures

u64 is aligned as 128bits on x86_64 architetures, requiring an special
handling to ioctls that depends on v4l2_ext_control. 
Let's fix this before ext controls go to kernel mainstream to avoid one 
more compat32 stuff.
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 eb4eeccc
......@@ -716,7 +716,7 @@ struct v4l2_ext_control
__s64 value64;
void *reserved;
};
};
} __attribute__ ((packed));
struct v4l2_ext_controls
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册