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 D3D3FA32A1 for ; Thu, 24 Oct 2019 09:31:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C3BCD1D14A; Thu, 24 Oct 2019 09:31:39 +0200 (CEST) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id 77B781C436 for ; Thu, 24 Oct 2019 09:31:38 +0200 (CEST) Received: from 2.general.paelzer.uk.vpn ([10.172.196.173] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iNXas-0001gK-9I; Thu, 24 Oct 2019 07:31:38 +0000 From: Christian Ehrhardt To: Luca Boccassi , dpdk stable Cc: Thomas Monjalon , Christian Ehrhardt Date: Thu, 24 Oct 2019 09:31:30 +0200 Message-Id: <20191024073130.11217-2-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191024073130.11217-1-christian.ehrhardt@canonical.com> References: <20191024073130.11217-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH 1/1] kni: fix build with kernel 5.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" The include of kni_fifo should be local as kni provides it. With newer kernels build systems this will run into an issue on external module compilation. /var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_net.c:40:10: fatal error: kni_fifo.h: No such file or directory #include ^~~~~~~~~~~~ Like the includes to kni_dev.h this should be local as well. Signed-off-by: Christian Ehrhardt --- lib/librte_eal/linuxapp/kni/kni_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_net.c b/lib/librte_eal/linuxapp/kni/kni_net.c index db9f48989..1802f9d0b 100644 --- a/lib/librte_eal/linuxapp/kni/kni_net.c +++ b/lib/librte_eal/linuxapp/kni/kni_net.c @@ -37,7 +37,7 @@ #include #include -#include +#include "kni_fifo.h" #include "compat.h" #include "kni_dev.h" -- 2.23.0