Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1585401

Re: [net-next][PATCH] RDS: keep data type consistent in the user visible header

From Edward Cree <ecree@solarflare.com>
Newsgroups linux.kernel
Subject Re: [net-next][PATCH] RDS: keep data type consistent in the user visible header
Date 2017-02-21 16:00 +0100
Message-ID <tdk56-3Wc-65@gated-at.bofh.it> (permalink)
References <tc3IZ-4Qp-1@gated-at.bofh.it> <tcY4y-6nx-9@gated-at.bofh.it> <tcYee-6r1-25@gated-at.bofh.it> <tcYee-6r1-27@gated-at.bofh.it> <tdjLI-3P2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 21/02/17 14:29, David Laight wrote:
>> The entire file should use the proper "__uX" kernel types
>> rather than the uint* ones.
> The uint* ones are part of the C standard :-)
>
> 	David
>
... which is exactly why we can't use them.

http://yarchive.net/comp/linux/kernel_headers.html#17

Visibility of <stdint.h> types is defined by a twisty maze of standards, all different (POSIX, SuS, BSD_SOURCE, XOPEN_SOURCE...).

__u8 and friends are in the reserved system namespace, so we can safely use them in user headers.

-Ed

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[net-next][PATCH] RDS: keep data type consistent in the user visible header Santosh Shilimkar <santosh.shilimkar@oracle.com> - 2017-02-18 04:20 +0100
  Re: [net-next][PATCH] RDS: keep data type consistent in the user  visible header David Miller <davem@davemloft.net> - 2017-02-20 16:30 +0100
    Re: [net-next][PATCH] RDS: keep data type consistent in the user  visible header Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2017-02-20 16:40 +0100
      Re: [net-next][PATCH] RDS: keep data type consistent in the user  visible header David Miller <davem@davemloft.net> - 2017-02-20 16:40 +0100
        RE: [net-next][PATCH] RDS: keep data type consistent in the user  visible header David Laight <David.Laight@ACULAB.COM> - 2017-02-21 15:40 +0100
          Re: [net-next][PATCH] RDS: keep data type consistent in the user  visible header "santosh.shilimkar@oracle.com" <santosh.shilimkar@oracle.com> - 2017-02-21 16:00 +0100
          Re: [net-next][PATCH] RDS: keep data type consistent in the user  visible header Edward Cree <ecree@solarflare.com> - 2017-02-21 16:00 +0100

csiph-web