From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 842B7A00BE; Mon, 27 Apr 2020 15:24:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 02E0D1D424; Mon, 27 Apr 2020 15:24:21 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id B5C461D17C for ; Mon, 27 Apr 2020 15:24:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587993854; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qu/MuzBufTbwrzSAiI6xpCOey1nEqRanDNexqX7ivtM=; b=aQ6TJWHNZvBRoIP1KqibLnmGSBQwv1FuoHCWq80Xjjz5zCMy5Z2UP3RdqCdAAy8ISDUb+x xeoBa+eKT+Y+aZOe4OrMC7UEXZwZ73rjQ1tJPuStYu5S4SWLHLawPGUVB8cOImZPpB9x5+ 4egy4tQ/eoqEaWUV5PJomyDJqxdscQw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-316-inrNG6AeNuqZPjs0FinyHw-1; Mon, 27 Apr 2020 09:24:11 -0400 X-MC-Unique: inrNG6AeNuqZPjs0FinyHw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F1A6F107ACCA; Mon, 27 Apr 2020 13:24:09 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.195.1]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2DE8919C58; Mon, 27 Apr 2020 13:24:06 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Ori Kam , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Xiao Zhang Date: Mon, 27 Apr 2020 15:23:41 +0200 Message-Id: <20200427132341.27681-4-david.marchand@redhat.com> In-Reply-To: <20200427132341.27681-1-david.marchand@redhat.com> References: <20200427132341.27681-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH 3/3] ethdev: fix build warning on 64-bit value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Building OVS with dpdk, sparse complains about 64-bit constant being passed as a normal integer that can't fit it: error: constant 0xffffffffffffffff is so big it is unsigned long Fixes: ecbc8570131d ("ethdev: add PFCP header to flow API") Signed-off-by: David Marchand --- lib/librte_ethdev/rte_flow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ethdev/rte_flow.h b/lib/librte_ethdev/rte_flow.h index 132b44edc6..1fb94f35e8 100644 --- a/lib/librte_ethdev/rte_flow.h +++ b/lib/librte_ethdev/rte_flow.h @@ -1534,7 +1534,7 @@ struct rte_flow_item_pfcp { #ifndef __cplusplus static const struct rte_flow_item_pfcp rte_flow_item_pfcp_mask =3D { =09.s_field =3D 0x01, -=09.seid =3D RTE_BE64(0xffffffffffffffff), +=09.seid =3D RTE_BE64(UINT64_C(0xffffffffffffffff)), }; #endif =20 --=20 2.23.0