LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: yamada.masahiro@socionext.com
Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sparc: fix unknown type name u_int in uapi header
Date: Thu, 13 Jun 2019 14:13:05 -0700 (PDT)	[thread overview]
Message-ID: <20190613.141305.616954421778433913.davem@davemloft.net> (raw)
In-Reply-To: <20190604082314.25939-1-yamada.masahiro@socionext.com>

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.

      reply	other threads:[~2019-06-13 21:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-04  8:23 Masahiro Yamada
2019-06-13 21:13 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190613.141305.616954421778433913.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=yamada.masahiro@socionext.com \
    --subject='Re: [PATCH] sparc: fix unknown type name u_int in uapi header' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).