From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758278AbbE3PsH (ORCPT ); Sat, 30 May 2015 11:48:07 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:33804 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755440AbbE3Pkp (ORCPT ); Sat, 30 May 2015 11:40:45 -0400 From: Mikko Rapeli To: linux-kernel@vger.kernel.org Cc: Mikko Rapeli , Vlad Yasevich , Neil Horman , linux-sctp@vger.kernel.org, linux-api@vger.kernel.org Subject: [PATCH 25/98] sctp.h: use __u8 and __u32 from linux/types.h Date: Sat, 30 May 2015 17:38:17 +0200 Message-Id: <1433000370-19509-26-git-send-email-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1433000370-19509-1-git-send-email-mikko.rapeli@iki.fi> References: <1433000370-19509-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a02:8070:d18d:d800:7c0d:5e59:fd9c:b615 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes userspace compilation errors like: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- 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