[PATCH 00/11] ALSA: firewire-motu: add ioctl commands to retrieve information in messages delivered by isoc packet

Takashi Sakamoto o-takashi at sakamocchi.jp
Mon Oct 18 14:46:54 CEST 2021


Hi,

On Mon, Oct 18, 2021 at 10:05:32AM +0200, Takashi Iwai wrote:
> On Sun, 17 Oct 2021 11:25:37 +0200,
> Takashi Sakamoto wrote:
> > 
> > Would I ask you opinion about my concern about firewire UAPI header? Is
> > it allowed to use float type instead of __u32 type?
> 
> I guess the safest way would be like include/uapi/linux/acct.h.
> The ifdef KERNEL will be omitted at installation, so user-space would
> see only float type while the kernel sees only __u32.

Yes. I've already found the header and it would be the safest, However,
conditional macro sometimes confuses userspace developers...

I decide to keep current usage of __u32 as is. Thanks for your opinion!


Regards

Takashi Sakamoto


More information about the Alsa-devel mailing list