From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 7F99C567C; Tue, 28 Mar 2017 12:58:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490698706; x=1522234706; h=from:to:cc:subject:date:message-id; bh=93WPmyQ5bIfhu1zkK6gjORZqlxTxt8k1wdOLLWrMuAw=; b=oS2wE/7n5vLh4ELKM+LjBcd7G7kXHGvf4yMnY29AUnhbrTKjDmFAM3ke RK1D12r+O6GuYS3m+UjNO2wEUB1s/A==; Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2017 03:58:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,236,1486454400"; d="scan'208";a="839250477" Received: from sivswdev01.ir.intel.com ([10.237.217.45]) by FMSMGA003.fm.intel.com with ESMTP; 28 Mar 2017 03:58:23 -0700 From: Bruce Richardson To: roy.fan.zhang@intel.com Cc: dev@dpdk.org, Bruce Richardson , stable@dpdk.org Date: Tue, 28 Mar 2017 11:58:16 +0100 Message-Id: <20170328105816.22502-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.8.4 Subject: [dpdk-stable] [PATCH] crypto/scheduler: fix include of local headers 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: , X-List-Received-Date: Tue, 28 Mar 2017 10:58:27 -0000 When a C file for a library/driver is including the public header files for that library, those need to be included as local includes using quotes rather than angle-brackets. Without doing so, parallel builds can fail, as the compiler will only look for those headers in the global include folder rather than locally, and the build system does not enforce that the headers for a lib are installed before the rest of the lib is compiled. Fixes: 097ab0bac017 ("crypto/scheduler: add API") Fixes: 503e9c5afb38 ("crypto/scheduler: register as vdev driver") Fixes: 31439ee72b2c ("crypto/scheduler: add API implementations") CC: stable@dpdk.org Signed-off-by: Bruce Richardson --- drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 2 +- drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 2 +- drivers/crypto/scheduler/scheduler_pmd.c | 2 +- drivers/crypto/scheduler/scheduler_pmd_private.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c index 11e8143..2f49ad4 100644 --- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c +++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c @@ -32,9 +32,9 @@ #include #include #include -#include #include +#include "rte_cryptodev_scheduler.h" #include "scheduler_pmd_private.h" /** update the scheduler pmd's capability with attaching device's diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.h b/drivers/crypto/scheduler/rte_cryptodev_scheduler.h index 7ef44e7..98ab8f2 100644 --- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.h +++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.h @@ -34,7 +34,7 @@ #ifndef _RTE_CRYPTO_SCHEDULER_H #define _RTE_CRYPTO_SCHEDULER_H -#include +#include "rte_cryptodev_scheduler_operations.h" #ifdef __cplusplus extern "C" { diff --git a/drivers/crypto/scheduler/scheduler_pmd.c b/drivers/crypto/scheduler/scheduler_pmd.c index eeafbe6..7efdc91 100644 --- a/drivers/crypto/scheduler/scheduler_pmd.c +++ b/drivers/crypto/scheduler/scheduler_pmd.c @@ -37,8 +37,8 @@ #include #include #include -#include +#include "rte_cryptodev_scheduler.h" #include "scheduler_pmd_private.h" struct scheduler_init_params { diff --git a/drivers/crypto/scheduler/scheduler_pmd_private.h b/drivers/crypto/scheduler/scheduler_pmd_private.h index ac4690e..9a1409c 100644 --- a/drivers/crypto/scheduler/scheduler_pmd_private.h +++ b/drivers/crypto/scheduler/scheduler_pmd_private.h @@ -36,7 +36,7 @@ #include #include -#include +#include "rte_cryptodev_scheduler.h" /**< Maximum number of bonded devices per devices */ #ifndef MAX_SLAVES_NUM -- 2.9.3