From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 8238349E0; Tue, 6 Nov 2018 03:19:50 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1701E22681; Mon, 5 Nov 2018 21:19:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 05 Nov 2018 21:19:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=cdCwJx1BCbImxcCR8qFooGu96SqzzDvS9wIITXxi8Uc=; b=ObOPZiFLVHPa y9mBu1o2Yr9r0eFtT8+EXLpK1mETUAzgt1pclf9QhQySjIHP5x+u1IGraS7CeQa3 Woc+4fz1ISC6Sk/n5QqAgc6sMGQJjE7LR8QeHznz6osiowudznCSPFo16JV1k2IW aOH7N51jv3mGBqp8n6PnvzBiabyfuRk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=cdCwJx1BCbImxcCR8qFooGu96SqzzDvS9wIITXxi8 Uc=; b=FRDIh03YGkfdGhkKSrAkJm/6JT3xtougcIo5PJhsHtfvqyeZX9jG9/osn Rl2NNGRQ5niLWmHgm1rEbuw1LwXSycYyudmE/pooY3YeLQ+k12vlpWwdQRUWoCv6 Qk8nrkNeXASGfc8ikIE8/6ouYzgKroc0KoYvEm9Sqv8nfl4X4tqvk49vK7cJvVI9 RdOhWaxV3tsbtePTXf1nYQRlJgHkYRREuOHRUR//+/UmkxWhFpBQBaAHUhoMeZ7l dRHiQ+SU51WNHJ7/hmxPiED/MnL+6ggppRYTnzJhWTfRAiW1yYkq0Z2jYBHaqtSq +T9jIsAdmJzRua62jo0prY22eLnYw== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 92751102DD; Mon, 5 Nov 2018 21:19:48 -0500 (EST) From: Thomas Monjalon To: Dharmik Thakkar Cc: dev@dpdk.org, Bruce Richardson , Pablo de Lara , stable@dpdk.org Date: Tue, 06 Nov 2018 03:19:47 +0100 Message-ID: <3712634.mAt8YVjNjo@xps> In-Reply-To: <1540590183-87753-1-git-send-email-dharmik.thakkar@arm.com> References: <1537298539-31403-1-git-send-email-dharmik.thakkar@arm.com> <1540590183-87753-1-git-send-email-dharmik.thakkar@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3] test/hash: solve unit test hash compilation error 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: , X-List-Received-Date: Tue, 06 Nov 2018 02:19:50 -0000 26/10/2018 23:43, Dharmik Thakkar: > Enable print_key_info() function compilation always. >=20 > Compilation error message: > 'test_hash.c: In function =E2=80=98print_key_info=E2=80=99: > test_hash.c:90:15: error: cast discards =E2=80=98const=E2=80=99 qualifier= from pointer > target type [-Werror=3Dcast-qual] > uint8_t *p =3D (uint8_t *)key; > ^ > cc1: all warnings being treated as errors' >=20 >=20 > Fixes: af75078fece36 ("first public release") > Cc: stable@dpdk.org >=20 > Suggested-by: Honnappa Nagarahalli > Signed-off-by: Dharmik Thakkar > Reviewed-by: Honnappa Nagarahalli > Reviewed-by: Gavin Hu Applied, thanks