Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp750159ybp; Fri, 11 Oct 2019 03:52:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqydMLTxiaFPfbioExtd3ctx545EXdMeGbVDZHmGS4Py4e463cyyeRG0gtkha2N3DaIZG0az X-Received: by 2002:a17:906:5e11:: with SMTP id n17mr13257132eju.302.1570791166408; Fri, 11 Oct 2019 03:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570791166; cv=none; d=google.com; s=arc-20160816; b=yz3pn94zoMI/58W43GW0mwCP8C/9ER+LpdbIXAiC+/G0DBSl7ByOb5n8iaMY9jMDAw vFL4pFy1NN+D70sM3S9JmRuIWCW8l79ighWzz2Z3pZt+cFywgXgOmk82U6phislj6l7f Isa6U9yXOru6D7Q+qRDhhJravfFVXEnAMhmBW8BSS3YkfRc0FPdrujn1LE7mCexYS3XT yG08UJCN2/7tzipz6voU2PUddVGlRf0OKSQdd01jTXCBAzonW9C1y7+QmW48ybnLUAIe jfO+EYUpv+cS/zcvfSE3MnEos69N23V+8TtuThKmu0qPxku/iWVLgdx0GmiLTRHGpUI6 5SqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+AfVulPjUsj7Th+sjwSpz+DvIhOMKWyMUlvV/+lzk58=; b=ovtG+ArHoRhzLmnWZio+0mpo3RpRDBVvreIPMznvR4dhW5RlNWZjUM+BW9V2gYK48l 7JfYNV//6LSk1rkcvuK8nxPKITycyRPS9c1nyOBTbiqXuQ7cHM4ShXW3fjSyh20HXpSm jIXvC11FUyrMuLGFbBqG15lMcsM238Fp9cAYZxpQgLZD/tYd5T5KA5pLzc1LtFlYONS1 +FZZ160RF0bUnaIb/ZsO0PFpwT0e/s/3S1fw95qGBjA8t/+q/W3ojsB+ZCdqSo4NPvG9 ChGS6AI5TmAuSTgWWR/VRTLpmVDrudGwpxa19/cHraApBf7XdXq8Z6QWvRtbfDJBVaQ4 GZ5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DIc5DeEW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c19si6109796ede.360.2019.10.11.03.52.23; Fri, 11 Oct 2019 03:52:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DIc5DeEW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727602AbfJKKtv (ORCPT + 99 others); Fri, 11 Oct 2019 06:49:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58004 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbfJKKtv (ORCPT ); Fri, 11 Oct 2019 06:49:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+AfVulPjUsj7Th+sjwSpz+DvIhOMKWyMUlvV/+lzk58=; b=DIc5DeEWHi+eQfSKzAZ9Eu/Ct C4EQRo88RCKwPxoajqHuw0QCgyBGH7U6xNPbF5maqLu+gmks9isD361gwYRywGn+ZPu0pxaypH6e1 07oolnR7/3oKT0xkkjSz7gcvmsXGWBIb2u5wvgvMqmF1iV5jRgX96VBRcJm583uine9s1tLUBj+gk hwyUO+4VjfSEbDeP4AP6pprcQzfr/7Cnz7spXJYasb3vEa49jQLhvltxKGQcY8SaTPcEKqCEO6y8M 2u30/tGNM2vTh3HSlgOQXiU6apYFoADMMQAV7dSY4CdP9JbX2qqkiH60iSEP7KrYeNzbRybQ8KQG7 kLUGA9xqw==; Received: from 177.17.141.107.dynamic.adsl.gvt.net.br ([177.17.141.107] helo=coco.lan) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1iIsUS-0000SJ-K3; Fri, 11 Oct 2019 10:49:45 +0000 Date: Fri, 11 Oct 2019 07:49:40 -0300 From: Mauro Carvalho Chehab To: Robert Richter Cc: Borislav Petkov , Tony Luck , James Morse , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 11/19] EDAC: Remove misleading comment in struct edac_raw_error_desc Message-ID: <20191011074940.30b0764b@coco.lan> In-Reply-To: <20191010202418.25098-12-rrichter@marvell.com> References: <20191010202418.25098-1-rrichter@marvell.com> <20191010202418.25098-12-rrichter@marvell.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, 10 Oct 2019 20:25:26 +0000 Robert Richter escreveu: > There never has been such function edac_raw_error_desc_clean() and in > function ghes_edac_report_mem_error() the whole struct is zero'ed > including the string arrays. Remove that comment. > > Signed-off-by: Robert Richter Reviewed-by: Mauro Carvalho Chehab > --- > include/linux/edac.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/include/linux/edac.h b/include/linux/edac.h > index 8e72222e50b0..4d9673954856 100644 > --- a/include/linux/edac.h > +++ b/include/linux/edac.h > @@ -458,15 +458,10 @@ struct errcount_attribute_data { > * @other_detail: other driver-specific detail about the error > */ > struct edac_raw_error_desc { > - /* > - * NOTE: everything before grain won't be cleaned by > - * edac_raw_error_desc_clean() > - */ > char location[LOCATION_SIZE]; > char label[(EDAC_MC_LABEL_LEN + 1 + sizeof(OTHER_LABEL)) * EDAC_MAX_LABELS]; > long grain; > > - /* the vars below and grain will be cleaned on every new error report */ > u16 error_count; > int top_layer; > int mid_layer; Thanks, Mauro