Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp963698imm; Wed, 15 Aug 2018 09:03:33 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwoUcPnpkE3CjYoVV0vfNdw0og4+/DunwdlpZVuwCnPiOQkAaU0qG6NgpPPwM40znsylohB X-Received: by 2002:a63:1316:: with SMTP id i22-v6mr25028269pgl.403.1534349013732; Wed, 15 Aug 2018 09:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534349013; cv=none; d=google.com; s=arc-20160816; b=b6bM7/RkG1ifxnCBkjbmh7leJkqFBKSiC2OokghYqATiU+DPPlPAWeg1+Ys7bO4GS4 UCvxTPSnzRiWPtYYBeyH7pvcRjEolE217LsWOIvd3mWKBEDNmI3nMQh9qgeYV8sr/Jo+ S7iO8INHQzPDbAGyjrhXez1C4J+yjPd2Aeje66/bhHjLtutZndMl/hkZ9au7a6pql6a4 5LvXmjsmUt2iuFpEFwlWk2iuVtFCbAvlFveL3x+DfnwFIdifP8VCbLmgBTvCVKNwYnRd x6PzTFx/SIXKcs+BO2FP+zTD59EVYZ+RUEBxV4SesGNiuEEKSwln/DS3E2qo2Itb5WDl lyMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=CzP58aRPI4+DgocYXsnA8T0drtvJj37KkO0GcW2hqkQ=; b=t3LEM2ri5hM5kgb/ingJHuDyHVkqXr1F3MIxRSPPUJKodq9/rb3KLN3D7oJakopTK4 YNq49AhPK8+sveHsumK9i90I2Xsvw9BaGUjo+vIO4Gdov0O52bosPJI6ZcO8C+km6em6 NTpQB1xfyrGScMwgHfvb5aUNhbzT2Ogk33gK7XSpCU7EidK+Hm85QJHcGEV+6jrcvW5e MQDJJoEbZXAH2akrh2LIMXsx6FQp7HQg2S2UMR4HJpCZd+iwodhobnLIKQu9XehEsfMY vMeL02sbZzd1/P8PSBnrRdWT8GVedx5IgdfGMtIC/IHQ+/ZnMzNTPc7a8F6kttg5KWb8 8d+g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q20-v6si22469956pgl.573.2018.08.15.09.03.17; Wed, 15 Aug 2018 09:03:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729660AbeHOSyN (ORCPT + 99 others); Wed, 15 Aug 2018 14:54:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:42974 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729249AbeHOSyN (ORCPT ); Wed, 15 Aug 2018 14:54:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C01AEAD76; Wed, 15 Aug 2018 16:01:28 +0000 (UTC) Date: Wed, 15 Aug 2018 18:01:27 +0200 Message-ID: From: Takashi Iwai To: Borislav Petkov Cc: Tim Small , Mauro Carvalho Chehab , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] EDAC: i82443bxgx: Fix invalid memory type assignment In-Reply-To: <20180815155752.GC28669@nazgul.tnic> References: <20180810141520.8993-1-tiwai@suse.de> <20180815155752.GC28669@nazgul.tnic> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/26 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 Aug 2018 17:57:52 +0200, Borislav Petkov wrote: > > On Fri, Aug 10, 2018 at 04:15:20PM +0200, Takashi Iwai wrote: > > The i82443bxgx_edac driver assigns an invalid negative value when an > > unknown DRAM type is detected. Drop the unnecessary '-' that brings > > misbehavior. > > > > Fixes: 5a2c675c8919 ("drivers/edac: new i82443bxgz MC driver") > > Cc: > > Signed-off-by: Takashi Iwai > > --- > > drivers/edac/i82443bxgx_edac.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/edac/i82443bxgx_edac.c b/drivers/edac/i82443bxgx_edac.c > > index a2ca929e2168..1638f288fa47 100644 > > --- a/drivers/edac/i82443bxgx_edac.c > > +++ b/drivers/edac/i82443bxgx_edac.c > > @@ -273,7 +273,7 @@ static int i82443bxgx_edacmc_probe1(struct pci_dev *pdev, int dev_idx) > > break; > > default: > > edac_dbg(0, "Unknown/reserved DRAM type value in DRAMC register!\n"); > > - mtype = -MEM_UNKNOWN; > > + mtype = MEM_UNKNOWN; > > } > > > > if ((mtype == MEM_SDR) || (mtype == MEM_RDR)) > > -- > > Is this something you caught by inspection or you really have hw that > loads that driver... I just followed the old percept: read the source, Luke. > Wikipedia says 440BX chipset is pentium II and III which, if so, would > drop its priority considerably. CC:stable would be not needed either, TBH. OK, feel free to drop that. thanks, Takashi