From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C51E52C4B for ; Mon, 26 Sep 2016 21:14:28 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP; 26 Sep 2016 12:14:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,401,1470726000"; d="scan'208";a="173388699" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by fmsmga004.fm.intel.com with ESMTP; 26 Sep 2016 12:14:06 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by IRSMSX107.ger.corp.intel.com ([169.254.10.95]) with mapi id 14.03.0248.002; Mon, 26 Sep 2016 20:14:05 +0100 From: "De Lara Guarch, Pablo" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "Trahe, Fiona" , "Jain, Deepak K" , "Griffin, John" Thread-Topic: [PATCH] app/test: fix compilation error when debug mode enabled Thread-Index: AQHSF/1PDYHOhPe6Hkmj9IesDSWtkqCMI+oQ Date: Mon, 26 Sep 2016 19:14:04 +0000 Message-ID: References: <1474897968-27642-1-git-send-email-arkadiuszx.kusztal@intel.com> In-Reply-To: <1474897968-27642-1-git-send-email-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWQyODA5NGUtNjI1My00ZDE5LTkzYjQtOGFkMGNjMjVmNzYyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkZ3QklTMERKWkVGWDMxSXZ3WTE5VFJ3MnJwNW1tNHBVQTA0MGJ4VFhLenc9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/test: fix compilation error when debug mode enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2016 19:14:29 -0000 Hi Arek, > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Monday, September 26, 2016 6:53 AM > To: dev@dpdk.org > Cc: Trahe, Fiona; Jain, Deepak K; De Lara Guarch, Pablo; Griffin, John; K= usztal, > ArkadiuszX > Subject: [PATCH] app/test: fix compilation error when debug mode enabled >=20 > This patch fixes compilation error in test_cryptodev.c when > RTE_LOG_DEBUG is specified >=20 > Fixes: ba0dda7a7100 ("app/test: add GMAC authentication tests to cryptode= v > tests") >=20 > Signed-off-by: Arek Kusztal > --- > app/test/test_cryptodev.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >=20 > diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c > index d744b37..609908b 100644 > --- a/app/test/test_cryptodev.c > +++ b/app/test/test_cryptodev.c > @@ -4288,7 +4288,7 @@ static int create_gmac_session(uint8_t dev_id, > ut_params->cipher_xform.cipher.key.data =3D cipher_key; > ut_params->cipher_xform.cipher.key.length =3D tdata->key.len; >=20 > - TEST_HEXDUMP(stdout, "key:", key, key_len); > + TEST_HEXDUMP(stdout, "key:", cipher_key, tdata->key.len); >=20 > ut_params->auth_xform.type =3D RTE_CRYPTO_SYM_XFORM_AUTH; > ut_params->auth_xform.next =3D NULL; > @@ -4430,8 +4430,6 @@ test_AES_GMAC_authentication_verify(const struct > gmac_test_data *tdata) > TEST_ASSERT_EQUAL(ut_params->op->status, > RTE_CRYPTO_OP_STATUS_SUCCESS, > "crypto op processing failed"); >=20 > - TEST_HEXDUMP(stdout, "auth tag:", auth_tag, tdata->gmac_tag.len); This removal is not related to this fix. If you want to remove it, better t= o send it in another patch. Thanks, Pablo > - > return 0; >=20 > } > -- > 2.1.0