Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Pierre-Louis Bossart
On 7/22/19 8:39 AM, Arnd Bergmann wrote: On Sun, Jul 21, 2019 at 4:25 PM Masahiro Yamada wrote: struct snd_sof_blk_hdr { enum snd_sof_fw_blk_type type; - uint32_t size; /* bytes minus this header */ - uint32_t offset;/* offset from base */ +

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Pierre-Louis Bossart
On 7/22/19 8:34 AM, Arnd Bergmann wrote: On Mon, Jul 22, 2019 at 3:16 PM Pierre-Louis Bossart wrote: On 7/22/19 7:56 AM, Takashi Iwai wrote: On Mon, 22 Jul 2019 14:49:34 +0200, Pierre-Louis Bossart wrote: On 7/21/19 9:23 AM, Masahiro Yamada wrote: When CONFIG_UAPI_HEADER_TEST=y,

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Arnd Bergmann
On Mon, Jul 22, 2019 at 5:18 PM Pierre-Louis Bossart wrote: > On 7/22/19 8:34 AM, Arnd Bergmann wrote: > > On Mon, Jul 22, 2019 at 3:16 PM Pierre-Louis Bossart > > wrote: > >> On 7/22/19 7:56 AM, Takashi Iwai wrote: > >>> On Mon, 22 Jul 2019 14:49:34 +0200, > >> Our goal is to minimize the

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Arnd Bergmann
On Mon, Jul 22, 2019 at 3:16 PM Pierre-Louis Bossart wrote: > On 7/22/19 7:56 AM, Takashi Iwai wrote: > > On Mon, 22 Jul 2019 14:49:34 +0200, > > Pierre-Louis Bossart wrote: > >> > >> > >> > >> On 7/21/19 9:23 AM, Masahiro Yamada wrote: > >>> When CONFIG_UAPI_HEADER_TEST=y, exported headers are

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Pierre-Louis Bossart
On 7/22/19 7:56 AM, Takashi Iwai wrote: On Mon, 22 Jul 2019 14:49:34 +0200, Pierre-Louis Bossart wrote: On 7/21/19 9:23 AM, Masahiro Yamada wrote: When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to make sure they can be included from user-space. Currently, header.h

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Takashi Iwai
On Mon, 22 Jul 2019 14:49:34 +0200, Pierre-Louis Bossart wrote: > > > > On 7/21/19 9:23 AM, Masahiro Yamada wrote: > > When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to > > make sure they can be included from user-space. > > > > Currently, header.h and fw.h are excluded

Re: [alsa-devel] [PATCH] ASoC: SOF: use __u32 instead of uint32_t in uapi headers

2019-07-22 Thread Pierre-Louis Bossart
On 7/21/19 9:23 AM, Masahiro Yamada wrote: When CONFIG_UAPI_HEADER_TEST=y, exported headers are compile-tested to make sure they can be included from user-space. Currently, header.h and fw.h are excluded from the test coverage. To make them join the compile-test, we need to fix the build