lkml.org 
[lkml]   [2015]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 25/98] sctp.h: use __u8 and __u32 from linux/types.h
On Sat, May 30, 2015 at 05:38:17PM +0200, Mikko Rapeli wrote:
> Fixes userspace compilation errors like:
>
> linux/sctp.h:652:2: error: unknown type name ‘uint32_t’
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
> ---
> include/uapi/linux/sctp.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h
> index ce70fe6..dd0a9c2 100644
> --- a/include/uapi/linux/sctp.h
> +++ b/include/uapi/linux/sctp.h
> @@ -718,13 +718,13 @@ struct sctp_authkeyid {
> */
> struct sctp_sack_info {
> sctp_assoc_t sack_assoc_id;
> - uint32_t sack_delay;
> - uint32_t sack_freq;
> + __u32 sack_delay;
> + __u32 sack_freq;
> };
>
> struct sctp_assoc_value {
> sctp_assoc_t assoc_id;
> - uint32_t assoc_value;
> + __u32 assoc_value;
> };
>
> /*
> @@ -794,7 +794,7 @@ struct sctp_status {
> struct sctp_authchunks {
> sctp_assoc_t gauth_assoc_id;
> __u32 gauth_number_of_chunks;
> - uint8_t gauth_chunks[];
> + __u8 gauth_chunks[];
> };
>
> /* The broken spelling has been released already in lksctp-tools header,
> --
> 2.1.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Acked-by: Neil Horman <nhorman@tuxdriver.com>



\
 
 \ /
  Last update: 2015-06-01 16:01    [W:0.285 / U:2.340 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site