From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E66C0C636CD for ; Fri, 10 Feb 2023 12:16:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232060AbjBJMQi (ORCPT ); Fri, 10 Feb 2023 07:16:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbjBJMQh (ORCPT ); Fri, 10 Feb 2023 07:16:37 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E07BA5FE59; Fri, 10 Feb 2023 04:16:36 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (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 7CA841EC068E; Fri, 10 Feb 2023 13:16:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1676031395; 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=VjBuongz7TJEyYHKrgtVCdpTP0D6Op4JfT9l+oKjcv0=; b=DQM7rOPkw9Hq03B3vCEVVNMa6+oPDtcsGmfn7gWKKD+t/h9rlMgCB1JnKvfY2qhTtT9gF7 BiNZjk/ah1YOuB3FgW6kmVujPDElAaktiwWXrSlUH7GCao44Baxe3t7I79ARPfRUmlOCkC 2SolUUP2S+5rEGn66S83xmaLf1ABWrk= Date: Fri, 10 Feb 2023 13:16:29 +0100 From: Borislav Petkov To: Yazen Ghannam Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, muralidhara.mk@amd.com, naveenkrishna.chatradhi@amd.com Subject: Re: [PATCH v2 05/22] EDAC/amd64: Remove early_channel_count() Message-ID: References: <20230127170419.1824692-1-yazen.ghannam@amd.com> <20230127170419.1824692-6-yazen.ghannam@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230127170419.1824692-6-yazen.ghannam@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org On Fri, Jan 27, 2023 at 05:04:02PM +0000, Yazen Ghannam wrote: > The early_channel_count() function seems to have been useful in the past > for knowing how many EDAC mci structures to populate. However, this is no > longer needed as the maximum channel count for a system is used instead. > > Remove the early_channel_count() helper functions and related code. Use the > size of the channel layer when iterating over channel structures. > > Signed-off-by: Yazen Ghannam > --- > Link: > https://lore.kernel.org/r/20220509145534.44912-1-yazen.ghannam@amd.com > > v1->v2: > * New in v2. > > drivers/edac/amd64_edac.c | 116 +------------------------------------- > drivers/edac/amd64_edac.h | 2 - > 2 files changed, 2 insertions(+), 116 deletions(-) First 5 patches: applied, thanks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette