Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760041AbcJ1Mnl (ORCPT ); Fri, 28 Oct 2016 08:43:41 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:51550 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754166AbcJ1Mnj (ORCPT ); Fri, 28 Oct 2016 08:43:39 -0400 From: Arnd Bergmann To: Deepa Dinamani Cc: Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, y2038@lists.linaro.org Subject: Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Date: Fri, 28 Oct 2016 14:43:35 +0200 Message-ID: <5347568.3SpFZiqxSr@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <1476761253-13450-4-git-send-email-deepa.kernel@gmail.com> References: <1476761253-13450-1-git-send-email-deepa.kernel@gmail.com> <1476761253-13450-4-git-send-email-deepa.kernel@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:TUkQHXR2WB33HkqmZws0CH7eGoft+LiAZtZMs1LyCJ1jqLRN7Xj feaR/Vt3FulbQM4EW0PCMzpftdMHURC6QnOp/mT/eb4CYT7Aym87GjTC0MQUBdUNH7BVvq5 SMWLxMzviyPrLeqqdly/rH2n6cqddhxWjkW7OYrT3cTPAhRRTqryYenLafvYtZMyx8UziEs Jb3+RE9Qwvdt40vQMytlA== X-UI-Out-Filterresults: notjunk:1;V01:K0:6/Z7YUL1ktU=:tex+ipZFHDZ5nQtHbrlfZJ eNSzD74R2Q+A3chc3TtqSfvm9w9ElkpvaYrtQjSJUYpYm5IvtRYAGYg+QD5jtQPkWP8kMEfFo FHpEBXhZ8+ySgCbuapNZyVvj1y1lnWa9kMYJLJaAAXsG1Qds47onUKumL9f1HAuGuDp+RDN5z 2apljP5ccTwuCpc2CEYpuPZ0kdn5IUG8deDVzocBcEghXiy6T4X0yEFG8iNjA/ToYcmNqB1S7 RMfZCjRNwMv/Xov6Sn/ApbbTXHXhlcGw04E1H1cJCP8EN3TTLRWKCJ/2Zgx/teD4pTqtlyxec d3y8unX5+ad1IKcCF64QleV+yGX8KmDzoc0q/aiB+poJLgKs0AbvMKs1oDqp4Zpu68YopQfjP yll5Z9yw3sRxWX/04Q/d4ZYNd53K/fNDUUqqlf0YNDrjv7sMr7nAb95ypKPvS+MWZPEAs72GX 3nmanjd4hr72U8/m7Qourt9VYeshqJr4zmAgwr7KMcZ5nrBhUSpplu1cuNA0dOBNHZN3g52kS mGI7OGvuZu8E+5un1QuI58xwJ9PhlsxrGcI3+vBdo1yHQiXwfoqyVDLWl67lKyI0Kr/7apHm5 gSg8OoMhz7WAarS729dqR2N++ODBOJx6iSRtV5oMYFDZR0XM+vts1620RyIuBXdcWj5pqdNAi hewYHOvnCr7iFpF+7QRIX7pi4ZSJZk//i4jJuTC8mFdNvKCOAfgw2qu9Ebv1s01B9ihWiB1CA /G1ryeMVYEzHLa2V Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 576 Lines: 15 On Monday, October 17, 2016 8:27:32 PM CEST Deepa Dinamani wrote: > @@ -55,24 +60,24 @@ struct ff_effect_compat { > > static inline size_t input_event_size(void) > { > - return (in_compat_syscall() && !COMPAT_USE_64BIT_TIME) ? > - sizeof(struct input_event_compat) : sizeof(struct input_event); > + return in_compat_syscall() ? sizeof(struct raw_input_event_compat) : > + sizeof(struct raw_input_event); > } I think the COMPAT_USE_64BIT_TIME check has to stay here, it's needed for x32 mode on x86-64. Arnd