Re: [Y2038] [alsa-devel] [PATCH v7 8/9] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2021-10-07 Thread Takashi Iwai
On Thu, 07 Oct 2021 15:11:00 +0200, Arnd Bergmann wrote: > > On Thu, Oct 7, 2021 at 2:43 PM Takashi Iwai wrote: > > On Thu, 07 Oct 2021 13:48:44 +0200, Arnd Bergmann wrote: > > > On Thu, Oct 7, 2021 at 12:53 PM Takashi Iwai wrote: > > > > On Wed, 06 Oct 2021 19:49:17 +0200, Michael Forney

Re: [Y2038] [alsa-devel] [PATCH v7 8/9] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2021-10-07 Thread Arnd Bergmann
On Thu, Oct 7, 2021 at 2:43 PM Takashi Iwai wrote: > On Thu, 07 Oct 2021 13:48:44 +0200, Arnd Bergmann wrote: > > On Thu, Oct 7, 2021 at 12:53 PM Takashi Iwai wrote: > > > On Wed, 06 Oct 2021 19:49:17 +0200, Michael Forney wrote: > > > > As far as I can tell, the broken interface will always

Re: [Y2038] [alsa-devel] [PATCH v7 8/9] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2021-10-07 Thread Takashi Iwai
On Thu, 07 Oct 2021 14:43:53 +0200, Takashi Iwai wrote: > > On Thu, 07 Oct 2021 13:48:44 +0200, > Arnd Bergmann wrote: > > > > On Thu, Oct 7, 2021 at 12:53 PM Takashi Iwai wrote: > > > On Wed, 06 Oct 2021 19:49:17 +0200, Michael Forney wrote: > > > > > > > > Arnd Bergmann wrote: > > > > > +#if

Re: [Y2038] [alsa-devel] [PATCH v7 8/9] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2021-10-07 Thread Takashi Iwai
On Thu, 07 Oct 2021 13:48:44 +0200, Arnd Bergmann wrote: > > On Thu, Oct 7, 2021 at 12:53 PM Takashi Iwai wrote: > > On Wed, 06 Oct 2021 19:49:17 +0200, Michael Forney wrote: > > > > > > Arnd Bergmann wrote: > > > > +#if defined(__BYTE_ORDER) ? __BYTE_ORDER == __BIG_ENDIAN : > > > >

Re: [Y2038] [alsa-devel] [PATCH v7 8/9] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2021-10-07 Thread Arnd Bergmann
On Thu, Oct 7, 2021 at 12:53 PM Takashi Iwai wrote: > On Wed, 06 Oct 2021 19:49:17 +0200, Michael Forney wrote: > > > > Arnd Bergmann wrote: > > > +#if defined(__BYTE_ORDER) ? __BYTE_ORDER == __BIG_ENDIAN : > > > defined(__BIG_ENDIAN) > > > +typedef char __pad_before_uframe[sizeof(__u64) - > >

Re: [Y2038] [alsa-devel] [PATCH v7 8/9] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2021-10-07 Thread Takashi Iwai
On Wed, 06 Oct 2021 19:49:17 +0200, Michael Forney wrote: > > Arnd Bergmann wrote: > > +#if defined(__BYTE_ORDER) ? __BYTE_ORDER == __BIG_ENDIAN : > > defined(__BIG_ENDIAN) > > +typedef char __pad_before_uframe[sizeof(__u64) - > > sizeof(snd_pcm_uframes_t)]; > > +typedef char

Re: [Y2038] [alsa-devel] [PATCH v7 8/9] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2021-10-06 Thread Michael Forney
Arnd Bergmann wrote: > +#if defined(__BYTE_ORDER) ? __BYTE_ORDER == __BIG_ENDIAN : > defined(__BIG_ENDIAN) > +typedef char __pad_before_uframe[sizeof(__u64) - sizeof(snd_pcm_uframes_t)]; > +typedef char __pad_after_uframe[0]; > +#endif > + > +#if defined(__BYTE_ORDER) ? __BYTE_ORDER ==