Re: [PATCH] sparc: fix unknown type name u_int in uapi header

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

 



From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Date: Tue,  4 Jun 2019 17:23:14 +0900

> 'u_int' is a shorthand that is only available in the kernel space
> because it is defined in include/linux/types.h, which is not exported
> to the user space.
> 
> You cannot use it in uapi headers even if you include <linux/types.h>
> 
> Detected by compile-testing exported headers.
> 
> ./usr/include/asm/openpromio.h:16:2: error: unknown type name ʽu_intʼ
>   u_int oprom_size;  /* Actual size of the oprom_array. */
>   ^~~~~
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Applied.




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux