Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752043AbdHGPBe (ORCPT ); Mon, 7 Aug 2017 11:01:34 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:36863 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbdHGPBb (ORCPT ); Mon, 7 Aug 2017 11:01:31 -0400 MIME-Version: 1.0 In-Reply-To: <20170806164428.2273-37-mikko.rapeli@iki.fi> References: <20170806164428.2273-1-mikko.rapeli@iki.fi> <20170806164428.2273-37-mikko.rapeli@iki.fi> From: Arnd Bergmann Date: Mon, 7 Aug 2017 17:01:30 +0200 X-Google-Sender-Auth: B8oPPmRfxHIswmSAZgK5FW4U-OQ Message-ID: Subject: Re: [PATCH v06 36/36] uapi linux/kfd_ioctl.h: use __u32 and __u64 instead of uint32_t and uint64_t To: Mikko Rapeli Cc: Linux Kernel Mailing List , Linux API , Yair Shachar , Oded Gabbay , Andrew Lewycky , dri-devel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v77F1coF013942 Content-Length: 631 Lines: 18 On Sun, Aug 6, 2017 at 6:44 PM, Mikko Rapeli wrote: > Include instead of which on Linux includes > and on non-Linux platforms defines __u32 etc types. > > Fixes user space compilation errors like: > > linux/kfd_ioctl.h:33:2: error: unknown type name ‘uint32_t’ > uint32_t major_version; /* from KFD */ > ^~~~~~~~ > > Signed-off-by: Mikko Rapeli > Cc: Yair Shachar > Cc: Oded Gabbay > Cc: Andrew Lewycky Looks good to me, Acked-by: Arnd Bergmann