From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 1B4F9201;
 Sun,  4 Nov 2018 22:01:04 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id A697821C4F;
 Sun,  4 Nov 2018 16:01:03 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Sun, 04 Nov 2018 16:01:03 -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=ZBMDws8HSQ3doYttQ3m122DtdTOulQYMwtgLU74kHOQ=; b=lpak/GRekgBo
 ogO4JvqSo0/5GciQBuG2oQ4lIOXDH/gTDUV1ZJm1PjHfK0Iq/KkNdl2ty9T0gzhC
 NOHks4l4hEiADKpSonQP743CkAPzpzUkHRQUhl4YaF0vuIP9stP0U/Sgx87JpJvC
 MhmOYmMEYkHkAmmGyd8W6iwuBQrscB8=
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=ZBMDws8HSQ3doYttQ3m122DtdTOulQYMwtgLU74kH
 OQ=; b=ShCNoyhdZfRyg1Re0tJwCxY1kJzW5qqW3H+nCj9A3BMcc0plKMOMarjzI
 0CQBz9S3qYBd4sMkXvnxKy79bhBjpbhsQzZHyx4xG7RTcS4uO75Z7wRJT75gVeVm
 lXqou2GA7gO9/LWHgisRd+nSgEjm5Gu4FtICuUc3jpYdKrnaze7PvtuJZi2Xt3Dh
 NqqYUgntcccKH4IU+SmkiSBrYS/aptm+Qi1GzOn804xj21PaJ2PvhwXI9xjmocCU
 vPue4EqUbIgTt4OO4sfURSJL2odEFsXzFU5zrzT3XggAaTHCPoXWZrTfdPs6thDc
 B86STopxmIOAYmziSwUzm+ciHm5jA==
X-ME-Sender: <xms:Dl7fW5GIS8yaY5ay6w4ykmH3eI-ff4NDDNe_b7pZ0tklWt3ruK5N_w>
X-ME-Proxy: <xmx:Dl7fW6CGJ75XULIf0EgNfzX1l5as_FR-VgFzX9v7NWXkaSrkfc6r6g>
 <xmx:Dl7fWyPLs9AAE7tVcWulZ5uXoPsSUqlHasBaAEa0F47wMTSgtEW4Lg>
 <xmx:Dl7fW4CGrsNXHp6PANV_U-Il2P6AvzYuI5FVm4EkfG2jA_Rq5SHeDQ>
 <xmx:Dl7fWw9m8CVIbA5r1f3sMXLoSmThZl7JeXTnu4cb_BC4kki8yBPVRw>
 <xmx:Dl7fW5Gi7wQpy6_zbG8oWAPQxuc-GjvK8YtMn2e47myFCSjtLqon2w>
 <xmx:D17fWzbBplMJOlBAflosJZYV9NYEP7GtVaSaOiIj6MiZ_uLs_6UYMQ>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id AAB2FE40E6;
 Sun,  4 Nov 2018 16:01:01 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Cc: dev@dpdk.org, Fan Zhang <roy.fan.zhang@intel.com>,
 "ferruh.yigit@intel.com" <ferruh.yigit@intel.com>, "Jacob,
 Jerin" <Jerin.JacobKollanukkaran@cavium.com>,
 "stable@dpdk.org" <stable@dpdk.org>
Date: Sun, 04 Nov 2018 22:01:00 +0100
Message-ID: <1884211.o4Xx1SxZqB@xps>
In-Reply-To: <20181103145828.24564-1-jerin.jacob@caviumnetworks.com>
References: <20181103145828.24564-1-jerin.jacob@caviumnetworks.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] crypto/scheduler: fix build
	with gcc 8.2
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Nov 2018 21:01:04 -0000

03/11/2018 15:58, Jerin Jacob:
> build_error:
>=20
> drivers/crypto/scheduler/scheduler_pmd.c: In function =E2=80=98parse_name=
_arg=E2=80=99:
> drivers/crypto/scheduler/scheduler_pmd.c:372:2: error: =E2=80=98strncpy=
=E2=80=99
> specified bound 64 equals destination size [-Werror=3Dstringop-truncation]
>   strncpy(params->name, value, RTE_CRYPTODEV_NAME_MAX_LEN);
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> strncpy may result a not null-terminated string,
> replaced it with strlcpy
>=20
> Fixes: 503e9c5afb38 ("crypto/scheduler: register as vdev driver")
> Cc: stable@dpdk.org
>=20
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>

Applied, thanks