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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Oct 2021 14:46:54 +0200,
Takashi Sakamoto wrote:
> 
> 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 believe that the ifdef will be dropped automagically during
installing the files, so that user-space will see only float.

You can try to patch and run make headers_install.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux