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