[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190613.141305.616954421778433913.davem@davemloft.net>
Date: Thu, 13 Jun 2019 14:13:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yamada.masahiro@...ionext.com
Cc: sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sparc: fix unknown type name u_int in uapi header
From: Masahiro Yamada <yamada.masahiro@...ionext.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@...ionext.com>
Applied.
Powered by blists - more mailing lists