Re: [PATCH 3/4] input: Deprecate real timestamps beyond year 2106

From: Deepa Dinamani
Date: Tue Sep 13 2016 - 12:34:32 EST


> All errors (new ones prefixed by >>):
>
> drivers/input/input-compat.c: In function 'input_event_from_user':
>>> drivers/input/input-compat.c:24:15: error: invalid application of 'sizeof' to incomplete type 'struct input_event_compat'
> sizeof(struct input_event_compat)))
> ^~~~~~
> drivers/input/input-compat.c: In function 'input_event_to_user':
> drivers/input/input-compat.c:55:13: error: invalid application of 'sizeof' to incomplete type 'struct input_event_compat'
> sizeof(struct input_event_compat)))
> ^~~~~~

These 2 lines need to use raw_input_event_compat.

I will send an update to only this patch to help the discussion.
I will wait for other comments before updating the series.

-Deepa