From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arek Kusztal Subject: [PATCH] app/test: fix linkage scope of gmac plaintext array Date: Thu, 22 Sep 2016 15:52:44 +0100 Message-ID: <1474555964-7998-1-git-send-email-arkadiuszx.kusztal@intel.com> Cc: fiona.trahe@intel.com, deepak.k.jain@intel.com, pablo.de.lara.guarch@intel.com, john.griffin@intel.com, Arek Kusztal To: dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 85C5F2A58 for ; Thu, 22 Sep 2016 16:52:55 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Array gmac_plaintext in test_cryptodev_gcm_test_vectors.h needs to be changed to static Fixes: 7495f7594fed ("app/test: add GMAC authentication tests to cryptodev tests") Signed-off-by: Arek Kusztal --- app/test/test_cryptodev_gcm_test_vectors.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test/test_cryptodev_gcm_test_vectors.h b/app/test/test_cryptodev_gcm_test_vectors.h index 4f6cb8f..f3f8bd3 100644 --- a/app/test/test_cryptodev_gcm_test_vectors.h +++ b/app/test/test_cryptodev_gcm_test_vectors.h @@ -449,8 +449,7 @@ static const struct gcm_test_data gcm_test_case_7 = { }; /** GMAC Test Vectors */ - -uint8_t gmac_plaintext[] = { +static uint8_t gmac_plaintext[] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, -- 2.1.0