[alsa-devel] [PATCH v6 2/8] ALSA: Avoid using timespec for struct snd_timer_status

Arnd Bergmann arnd at arndb.de
Wed Nov 13 16:09:18 CET 2019


On Tue, Nov 12, 2019 at 9:28 PM Takashi Iwai <tiwai at suse.de> wrote:

> > Well spotted, this is indeed a very recent change I did to the patch.
> > The idea here is to hide any use of 'time_t', 'timespec' and 'timeval'
> > from kernel compilation. These types are now defined in an incompatible
> > way by libc, so we have to remove them from the kernel's uapi headers.
> > I would prefer to remove them completely from the kernel (rather than
> > moving them from uapi to internal headers) to make it harder to write
> > y2038-incompatible code, and with the 90 patches I sent this week,
> > all users are gone from the kernel (this series was the last part).
>
> Could you put this trick in the changelog, too?

Done.

      Arnd


More information about the Alsa-devel mailing list