From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932557AbcHVTj1 (ORCPT ); Mon, 22 Aug 2016 15:39:27 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:33772 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932451AbcHVTjZ (ORCPT ); Mon, 22 Aug 2016 15:39:25 -0400 Date: Mon, 22 Aug 2016 12:39:38 -0700 From: Stephen Hemminger To: Mikko Rapeli Cc: linux-kernel@vger.kernel.org, Pravin Shelar , netdev@vger.kernel.org, dev@openvswitch.org Subject: Re: [PATCH v05 38/72] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h Message-ID: <20160822123938.02e885c4@xeon-e3> In-Reply-To: <1471890809-4383-39-git-send-email-mikko.rapeli@iki.fi> References: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> <1471890809-4383-39-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 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 mail.home.local id u7MJdWD5018072 On Mon, 22 Aug 2016 20:32:55 +0200 Mikko Rapeli wrote: > Fixes userspace compiler error: > > error: unknown type name ‘uint32_t’ > > Signed-off-by: Mikko Rapeli > --- > include/uapi/linux/openvswitch.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h > index d95a301..645499a 100644 > --- a/include/uapi/linux/openvswitch.h > +++ b/include/uapi/linux/openvswitch.h > @@ -632,8 +632,8 @@ enum ovs_hash_alg { > * @hash_basis: basis used for computing hash. > */ > struct ovs_action_hash { > - uint32_t hash_alg; /* One of ovs_hash_alg. */ > - uint32_t hash_basis; > + __u32 hash_alg; /* One of ovs_hash_alg. */ > + __u32 hash_basis; > }; > > /** This is a a real issue, but being buried in a huge patch series of include file stuff I don't think anyone would see it.