From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 19005A00C2; Mon, 26 Sep 2022 09:19:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFACC400D7; Mon, 26 Sep 2022 09:19:41 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 53CAC400D5 for ; Mon, 26 Sep 2022 09:19:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664176779; 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; bh=ZeYzsPnFvhb188PeVoMOaSfkXVkz/j5sOAWStwfXx7M=; b=TVwKNqmGhc2cCRPrJ07Pi7ku2t21RQTEJs+J0zLZvZLGFVyS5tPU2LfwVw00y7n78M0M3r 1oaaU3LuoyoDHrRuOMctF32G/36XWZA62DHoJjVhNbihpPClrjjESHmF/iK7NMODYa41YN qAhFG9fcnhrLyJ9TwUbEfhOGjc3u3V8= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-310-AccriIy9PYKOrs5ky2ejfA-1; Mon, 26 Sep 2022 03:19:37 -0400 X-MC-Unique: AccriIy9PYKOrs5ky2ejfA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 848F03C01DEB; Mon, 26 Sep 2022 07:19:37 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.194.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5A49F492B05; Mon, 26 Sep 2022 07:19:36 +0000 (UTC) From: David Marchand To: dev@dpdk.org, thomas@monjalon.net Cc: Radha Mohan Chintakuntla , Veerasenareddy Burru , Sathesh Edara Subject: [PATCH] net/octeon_ep: fix build for non-x86 Date: Mon, 26 Sep 2022 09:19:26 +0200 Message-Id: <20220926071926.2846359-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org A recent change removed errno.h from rte_common.h. x86 EAL headers seem to include it (probably via rte_spinlock/rte_cpuflags) but other architectures won't. Add an explicit inclusion. Fixes: d826133ae88e ("net/octeon_ep: support CN10K SoC") Signed-off-by: David Marchand --- Note: This patch is already applied and pushed in the main repository to fix builds. --- drivers/net/octeon_ep/cnxk_ep_vf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/octeon_ep/cnxk_ep_vf.c b/drivers/net/octeon_ep/cnxk_ep_vf.c index 52f08c844b..3427fb213b 100644 --- a/drivers/net/octeon_ep/cnxk_ep_vf.c +++ b/drivers/net/octeon_ep/cnxk_ep_vf.c @@ -2,8 +2,11 @@ * Copyright(C) 2022 Marvell. */ +#include + #include #include + #include "cnxk_ep_vf.h" static void -- 2.37.3