From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] net/nfp: initialize stats struct Date: Fri, 10 Nov 2017 13:05:54 +0900 Message-ID: <20171110130554.3e491e70@shemminger-XPS-13-9360> References: <1510142385-23710-1-git-send-email-alejandro.lucero@netronome.com> <15bd63fc-1c14-faae-ac09-b94375fb1553@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alejandro Lucero , dev@dpdk.org, stable@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by dpdk.org (Postfix) with ESMTP id C92F81B647 for ; Fri, 10 Nov 2017 05:06:42 +0100 (CET) Received: by mail-pf0-f195.google.com with SMTP id z80so5817931pff.4 for ; Thu, 09 Nov 2017 20:06:42 -0800 (PST) In-Reply-To: <15bd63fc-1c14-faae-ac09-b94375fb1553@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 9 Nov 2017 17:10:16 -0800 Ferruh Yigit wrote: > On 11/8/2017 3:59 AM, Alejandro Lucero wrote: > > Not all struct fields will be written and random data could > > confuse readers. > > > > Fixes: 92aa491b881e ("nfp: add statistics") > > Coverity: 140755 > > Hi Alejandro, > > Thank you for coverity fixes, but they will be considered for next release, > since trying to limit rc4 only for critical fixes. > > Thanks, > ferruh > > > > > Signed-off-by: Alejandro Lucero > This looks like a bug fix. because the stats are on the stack and will be garbage.