lkml.org 
[lkml]   [2019]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] sparc: fix unknown type name u_int in uapi header
From
From: Masahiro Yamada <yamada.masahiro@socionext.com>
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@socionext.com>

Applied.
\
 
 \ /
  Last update: 2019-06-13 23:15    [W:0.109 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site