Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1511114

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

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106
Date 2016-10-28 14:50 +0200
Message-ID <sxeLE-8o2-23@gated-at.bofh.it> (permalink)
References <sttgd-4Dr-3@gated-at.bofh.it> <sttgd-4Dr-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Arnd Bergmann <arnd@arndb.de> - 2016-10-28 14:50 +0200
  Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Deepa Dinamani <deepa.kernel@gmail.com> - 2016-10-28 17:20 +0200
    Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Arnd Bergmann <arnd@arndb.de> - 2016-10-28 17:50 +0200
      Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Deepa Dinamani <deepa.kernel@gmail.com> - 2016-10-28 23:40 +0200
        Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Arnd Bergmann <arnd@arndb.de> - 2016-10-28 23:50 +0200
          Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-10-29 00:00 +0200
            Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106 Arnd Bergmann <arnd@arndb.de> - 2016-10-29 00:10 +0200

csiph-web