Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread Arnd Bergmann
On Tue, Apr 24, 2018 at 2:06 PM, Baolin Wang wrote: > -struct snd_pcm_mmap_status { > +/* > + * For mmap operations, we need the 64-bit layout, both for compat mode, > + * and for y2038 compatibility. For 64-bit applications, the two definitions > + * are identical, so we keep the traditional ver

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread Takashi Iwai
On Thu, 26 Apr 2018 13:31:17 +0200, Arnd Bergmann wrote: > > On Thu, Apr 26, 2018 at 1:25 PM, kbuild test robot wrote: > > Hi Arnd, > > > > I love your patch! Perhaps something to improve: > > > > [auto build test WARNING on v4.17-rc2] > > [cannot apply to sound/for-next asoc/for-next arm-soc/for

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread Arnd Bergmann
On Thu, Apr 26, 2018 at 5:07 AM, kbuild test robot wrote: > Hi Arnd, > > I love your patch! Yet something to improve: > > [auto build test ERROR on v4.17-rc2] > [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180424] > [if your patch is applied to the wrong git tree, please d

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread Arnd Bergmann
On Thu, Apr 26, 2018 at 1:25 PM, kbuild test robot wrote: > Hi Arnd, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on v4.17-rc2] > [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180426] > [if your patch is applied to the wrong git tree, pl

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread kbuild test robot
Hi Arnd, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.17-rc2] [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180426] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://gith

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-25 Thread kbuild test robot
Hi Arnd, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.17-rc2] [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180424] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://gith

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-25 Thread kbuild test robot
Hi Arnd, I love your patch! Yet something to improve: [auto build test ERROR on v4.17-rc2] [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180424] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-25 Thread kbuild test robot
Hi Arnd, I love your patch! Yet something to improve: [auto build test ERROR on v4.17-rc2] [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180424] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-24 Thread Arnd Bergmann
On Tue, Apr 24, 2018 at 2:06 PM, Baolin Wang wrote: > @@ -544,6 +543,8 @@ static long snd_pcm_ioctl_compat(struct file *file, > unsigned int cmd, unsigned l > case SNDRV_PCM_IOCTL_XRUN: > case SNDRV_PCM_IOCTL_LINK: > case SNDRV_PCM_IOCTL_UNLINK: > + case __SNDRV_PCM

[PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-24 Thread Baolin Wang
From: Arnd Bergmann The snd_pcm_mmap_status and snd_pcm_mmap_control interfaces are one of the trickiest areas to get right when moving to 64-bit time_t in user space. The snd_pcm_mmap_status structure layout is incompatible with user space that uses a 64-bit time_t, so we need a new layout for