From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 3430F1B59E; Fri, 3 Aug 2018 17:10:18 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CCC8021C79; Fri, 3 Aug 2018 11:10:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 03 Aug 2018 11:10:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=B8mWcM9nN8eKfnRcpOfC5UYE6w q+op+dQmHDojQsKPQ=; b=bla9k1krm7H6rGokEjVB/03W9wepzg8pEVM+16mfaD HCuwWtpnGdXWJvsXOVYGLstxURJf6vaTTfFIMqGPeV5Xi/M9SxTRiYmC6ryFqR1T tffEaXsfDtVFQQEET8v40qrJnikZhEzlZUIHj1wUbhAyvXqEay+fqt2Q6bEzNn/R Q= 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-sender:x-me-sender:x-sasl-enc; s=fm3; bh=B8mWcM 9nN8eKfnRcpOfC5UYE6wq+op+dQmHDojQsKPQ=; b=RWVPTNsSXX3LiiqD82Yu6x I6iHRagcpWWaKC2DoI1iuqMFNpf4yOsBdaRwWTtIrXJ/zVb5frGXClS961/A75sl 2i+bPAvovibWXrdsMiwu4TL3ANnZCNuT/Cnm/iGw+5qHDPh0X9DO/eCda4kwyAxs DLpTjfxO2sZg2rS3KQW9ruLwUDtzmS+07oz4T4wH9XPWskRyMD2Em4cD/9DaPcR2 l77D79r5CY5BGztyxjO3YgAwQqPPYdPLN8crOiWYRM7jIGPnUH/sUe3oLEgOclUN 0ahJ3g6AaYCXobivj5RtAZCOX+xHN0i3K4+0UTlVGDsGAYT27Y6HrbbHYdkDASLw == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id DA7C810278; Fri, 3 Aug 2018 11:10:16 -0400 (EDT) From: Thomas Monjalon To: Gavin Hu Cc: dev@dpdk.org, Shreyansh Jain , stable@dpdk.org Date: Fri, 03 Aug 2018 17:10:10 +0200 Message-ID: <2437244.yTZoX2vsWq@xps> In-Reply-To: <3b620acf-238c-1bf3-e31e-fefc3207b8c4@nxp.com> References: <20180731075137.15413-1-gavin.hu@arm.com> <3b620acf-238c-1bf3-e31e-fefc3207b8c4@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/dpaa2: remove unnecessary loop for unused pool entries X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2018 15:10:18 -0000 31/07/2018 15:52, Shreyansh Jain: > On 7/31/2018 1:21 PM, Gavin Hu wrote: > > Currently only one buffer pool is configured and in use, > > looping for up to maxmum 8 times is unnecessary and might > > be buggy as assigned uninititalized values. > > > > The fix is to loop for the configured times with initialize > > with valid values. > > > > Fixes: 16bbc98a3e ("bus/fslmc: update MC to 10.3.x") > > Cc: stable@dpdk.org > > > > Signed-off-by: Gavin Hu > > Reviewed-by: Honnappa Nagarahalli > > --- > > Acked-by: Shreyansh Jain Applied, thanks