HID: uhid: use __packed__ for uhid_feature_answer_req
authorDavid Herrmann <dh.herrmann@googlemail.com>
Mon, 17 Dec 2012 12:20:43 +0000 (13:20 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Jan 2013 09:38:24 +0000 (10:38 +0100)
commitfee5dfecb0c74c9eab475a2a20d7a5ababe2f8e6
tree931f19cd773d7d29e9235395b0405312e42a5a8c
parentf425458eafd51b6b5ab64f407922e1198c567cb2
HID: uhid: use __packed__ for uhid_feature_answer_req

We use __packed__ for all API structures so we can extend them without
breaking alignment rules. We do try to explicitly align the structures,
but to be safe we also use __packed__.
uhid_feature_answer_req is already 64bit aligned so we can add __packed__
without breaking ABI.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/uapi/linux/uhid.h