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 EF022A046B for ; Tue, 23 Jul 2019 18:26:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 362261C08D; Tue, 23 Jul 2019 18:26:58 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id EDC801C043 for ; Tue, 23 Jul 2019 18:26:56 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2019 09:26:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,299,1559545200"; d="scan'208";a="160248097" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by orsmga007.jf.intel.com with ESMTP; 23 Jul 2019 09:26:54 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson Date: Tue, 23 Jul 2019 17:26:48 +0100 Message-Id: <20190723162648.15217-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] raw/ioat: fix compiler warning for incorrect include 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" Some builds with clang report an error because '<>' rather than '""' were used for including the ioat spec header file. Target: x86_64-native-bsdapp-clang 22:10: error: 'rte_ioat_spec.h' file not found with include; use "quotes" instead #include ^~~~~~~~~~~~~~~~~ "rte_ioat_spec.h" 1 error generated. Since this file should always be in the same directory as the main header, we can safely change the include line to fix this error. Fixes: abff4333ec20 ("raw/ioat: create device on probe and destroy on release") Signed-off-by: Bruce Richardson --- drivers/raw/ioat/rte_ioat_rawdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/raw/ioat/rte_ioat_rawdev.h b/drivers/raw/ioat/rte_ioat_rawdev.h index 7a89632e7..4b271f174 100644 --- a/drivers/raw/ioat/rte_ioat_rawdev.h +++ b/drivers/raw/ioat/rte_ioat_rawdev.h @@ -19,7 +19,7 @@ #include #include #include -#include +#include "rte_ioat_spec.h" /** Name of the device driver */ #define IOAT_PMD_RAWDEV_NAME rawdev_ioat -- 2.21.0