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

From: David Miller
Date: Thu Jun 13 2019 - 17:17:50 EST


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.