Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3137876ybz; Mon, 27 Apr 2020 10:37:37 -0700 (PDT) X-Google-Smtp-Source: APiQypJfTuyDj4CmrYBcmHt2/zj8HPFF1P31PAjcW1ZMAc+WcZwuPMAMQ2aF80odQxYlrxHpe8Tq X-Received: by 2002:a17:906:cd0d:: with SMTP id oz13mr20847655ejb.82.1588009057246; Mon, 27 Apr 2020 10:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588009057; cv=none; d=google.com; s=arc-20160816; b=c9I4GIDuCFGtSLxT8Iawa2yReyeHdZioTBmnBnU/9OPtMYk1VKQCRmFgVZoH6IHTxF Xf5tdbEHHDa6iC5zbjIozXBg1dV/NsS3ktf6gpaAKhpWlJ2gUp6YWF8RZYGfy8jgGB5e pfjTgVlZoxhSrY0PlDICCZL6LwemgUtmGC/4v0/6phQ23JPHAAshz2UQ2PTqGIQfH3J+ Gz9/mAXySIkbYiJy5IsmYmBCUNm459Z4eKUE3JmS8rf+3pfrSLnoaHHQhVVZExpX51cC oChikeJBezbCT0cn1mCa7CNl3h/vdQF93Q0MCTmapVfwZQNr8Hn/cxkV+2/lKlhhsUcV L5IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ziGfCAfomKzl6PbHUax/kOvF/TnduRcl7QwWrxwzfCY=; b=qHjQDkrQoh/xVsov6yJJULHdmakaFP1cUjRw92CkAEn0qweLLlfcis9sjbe9AK5/VM BaaQ5pn4e/6CWS82+ZvoRJksQw6uREHi0ZgAEWNk4HvqcqASUdbhhAOmOQai66XFHOMY CX4v2PjBJ6FNegqkKFCIbgw2qH7hirjY7cEuAg9dWsPL7IvMwMG44CrbdMoN56L1cMFz +TmNfLAuEu/4MNy7WLmI/eqKh8aH2/mjHuLGwzF9/fMJlVxHO2L3oyrQzxqhc2mQ/Az9 Hq7d7XtRoJEmdya+aJJf3krRN6TpLuzXNTUBy7wmi8brWyma3jQLegc+Dpa6uqMukc+X 9ROA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ZsJGbYyS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si169426ejj.129.2020.04.27.10.37.12; Mon, 27 Apr 2020 10:37:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ZsJGbYyS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726422AbgD0ReM (ORCPT + 99 others); Mon, 27 Apr 2020 13:34:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbgD0ReM (ORCPT ); Mon, 27 Apr 2020 13:34:12 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D126C0610D5; Mon, 27 Apr 2020 10:34:12 -0700 (PDT) Received: from zn.tnic (p200300EC2F05F00014E720D2A42E8264.dip0.t-ipconnect.de [IPv6:2003:ec:2f05:f000:14e7:20d2:a42e:8264]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 992521EC0D0B; Mon, 27 Apr 2020 19:34:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1588008850; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=ziGfCAfomKzl6PbHUax/kOvF/TnduRcl7QwWrxwzfCY=; b=ZsJGbYySCGqBaH2Iq10RNlZKMjcnEVOSyZeQvV1kIv2eqIhM26s8sfUKFUP6etZHj/xt2j qd9TsK37g3hYQiqjl1APvHcn+9dpoHgxkzo5OGcgMcBbUyd3SBES06GN8hez6eqSZsTphZ S3X/3G1965IG4kL2ipTJI53+NHdtOzQ= Date: Mon, 27 Apr 2020 19:34:02 +0200 From: Borislav Petkov To: "Luck, Tony" Cc: Robert Richter , Mauro Carvalho Chehab , James Morse , Aristeu Rozanski , Matthias Brugger , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 06/10] EDAC/ghes: Remove local variable rdr_mask in ghes_edac_dmidecode() Message-ID: <20200427173402.GH11036@zn.tnic> References: <20200422115814.22205-1-rrichter@marvell.com> <20200422115814.22205-7-rrichter@marvell.com> <20200427070802.GA11036@zn.tnic> <20200427172408.GA13177@agluck-desk2.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200427172408.GA13177@agluck-desk2.amr.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 27, 2020 at 10:24:08AM -0700, Luck, Tony wrote: > That isn't the same. The previous version checked that BOTH bits > 7 and 13 were set. Your version checks for either bit. Whoops, I'm confused again. ;-\ > Looks like the original with the local variable was checking for both > bits set. Yeah, let's leave it as it is. I prefer the rdr_mask thing. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette