From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D688A0524; Mon, 19 Apr 2021 11:21:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 501BE40683; Mon, 19 Apr 2021 11:21:11 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 94EF340040 for ; Mon, 19 Apr 2021 11:21:10 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 4CBF912F6; Mon, 19 Apr 2021 05:21:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 19 Apr 2021 05:21:09 -0400 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=fm1; bh= SZQ3ZuN5w8YCK4fckG9WX/lbdUNmbIUDPVnAGMxp8jU=; b=DqMyQ4qN6fOozHyS XpJcgVvMgfNJni6XMEqogK5zIgLF341YBU4tZwtUOcKpRTNoSqsboYM8GRz6LVi9 Kxxo3m3m80V0sjniDYkCIKU8lsB2n4kwX3u9ytQobn0bRI6V7SumLPO/S80QBwT3 /J9gGxsq6rmwDGcfUu8J3MMGZr73EKl6aYiuw2/SE+wC3OtONU1i3YdJ7GiS19x9 VoJQBA8T7Tn40vM8eJy+tV1l39k6n0pHQfb0SyVC13eqnTWbj9VAddILZb6i7hsK Hi7yo78gUWsvZfDMH33nfDLEXp4jYf9ypYYwQlrdRlp1lqXxESs5NbGBXN5035em tuo1zQ== 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=fm2; bh=SZQ3ZuN5w8YCK4fckG9WX/lbdUNmbIUDPVnAGMxp8 jU=; b=UD1OrcPs8JiH/cWi7HDqkas3+qotWMu98DD9kWxdKQjXoUzNCh2a67xWJ mq7pPydgS4HGlMpSEwBGLgspdD/8xcc1gJcRc4LgBnCBFkt5qZrCuBHkF6719gnX 4IOTw5nO1uZF78PdzL6epOLHylw7wlTtlrJVyZ8C/yHfGXirBAwNeZcYiNs9yPbX n+Ob5eSjXhvtAW/uh+tHltLmYjBuKl7e16E7VwjZfbZ9vAD/goPJivMzsf6AvL0T tOZHWWOt+9CBt8FiGgbaCtTjTji0ve3sVG3W48lUxCX5s9CK2ozclj8NfUQEyEoX 6HKVHdWd9qaCwaZfYirgmXbAs8rBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtgedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfggfgtgesthfure dttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedugefgvdefudfftdefge elgffhueekgfffhfeujedtteeutdejueeiiedvffegheenucfkphepjeejrddufeegrddv tdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth 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 0D7E81080064; Mon, 19 Apr 2021 05:21:07 -0400 (EDT) From: Thomas Monjalon To: Tyler Retzlaff Cc: dev@dpdk.org Date: Mon, 19 Apr 2021 11:21:06 +0200 Message-ID: <2822967.SVomorQyhU@thomas> In-Reply-To: <1615852524-3605-1-git-send-email-roretzla@linux.microsoft.com> References: <1615852524-3605-1-git-send-email-roretzla@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: check vsnprintf failure and return -EINVAL X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 16/03/2021 00:55, Tyler Retzlaff: > Check for failure, while here just increment len once after checking for > failure instead of duplicating len + 1 math in two different argument > lists. > > Signed-off-by: Tyler Retzlaff Applied, thanks