Messages in this thread | | | Date | Sun, 12 Jan 2014 11:38:37 -0800 | From | Dmitry Torokhov <> | Subject | Re: [PATCH 1/4] Input: uinput: add full absinfo support |
| |
On Tue, Dec 17, 2013 at 04:48:51PM +0100, David Herrmann wrote: > + > +struct uinput_user_dev2 { > + __u8 version;
It does not make sense to have version u8 since we going to have padding (1 byte I believe) padding between name and id.
> + char name[UINPUT_MAX_NAME_SIZE]; > + struct input_id id; > + __u32 ff_effects_max; > + struct input_absinfo abs[ABS_CNT]; > +}; > + > #endif /* _UAPI__UINPUT_H_ */ > -- > 1.8.5.1 >
-- Dmitry
| |