Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1079798pxu; Wed, 2 Dec 2020 10:28:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkGvlBdRDA20QVxVuHRljbbUz0PBRJVmFnuDnW11i/sZqEOSIoVT2Lliq2lXt51uXcqJoq X-Received: by 2002:a05:6402:b4d:: with SMTP id bx13mr1259734edb.93.1606933728026; Wed, 02 Dec 2020 10:28:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606933728; cv=none; d=google.com; s=arc-20160816; b=lHRQLWoebdPFhIXGSCU//dlC0xFU3b7qTUti1SO/eUmGYFgUtD32xlV9XkbFWizY9R MJYm/IisIcuq4J5vatDO1m+8SGWYxKKUHgtDXuZuuQ7f0x7bV1jtvEzLDCpTzs98hwlL WzwC029p3Psriy/ZW4GHiXeNsq7Ao39dBUf2OjyYeKloG3fbmH8+igfwlpAZ5wT1ji7c HlAqhPrZQ0VTcdAxlWCAbVPfpOf2d54zjm9CXbcNWzCjVG4paaIlLgw6wJ7cOI+Ry7aA nosvmQqOtTmgdjqN21n8oeXOG7JA0ca9dmOQmVIpykQdBtRk8WsdsMhq2iagG6/sbNJP 82oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4K5oryCh4lYprceHfJITgYNxkJkNbvO0oAmzKtsMskk=; b=1GH+IYo2DR4qg8g1OQL6jio8QrGrno1Z+XBw5O37z6s2eXrGv4eb6vUrOHTlbr65lu EqhHbxjljPJuLHtzk2aJlroEc0sL7YUTOk6X6v3KRT7e1IQx4spdf7OiwSWXL5q00N3x +9kDJoRjJG13CXEXkSpT6hqSxTM/+rA8/aM12uotCfUMrb2gzzfkkGaqoIV9lS7NFOXr uGcxRil7jl+UnI3fSKP237b/aU8nItmW/3MwRyeh7yOes5GqZdivErdtzi/By/Ip2LaK WYkzYkSrdRWnVcS9u1LQYb80S4AJR6GG9DecjFUdoggsR4JetQ/alp/2sZPqoV5asjfW 5UZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=eyF7oJ8j; 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 he36si359631ejc.640.2020.12.02.10.28.24; Wed, 02 Dec 2020 10:28:48 -0800 (PST) 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=eyF7oJ8j; 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 S1730501AbgLBSYf (ORCPT + 99 others); Wed, 2 Dec 2020 13:24:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727454AbgLBSYf (ORCPT ); Wed, 2 Dec 2020 13:24:35 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0853CC0613CF; Wed, 2 Dec 2020 10:23:55 -0800 (PST) Received: from zn.tnic (p200300ec2f161b00329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ec:2f16:1b00:329c:23ff:fea6:a903]) (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 7193B1EC04DB; Wed, 2 Dec 2020 19:23:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1606933433; 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=4K5oryCh4lYprceHfJITgYNxkJkNbvO0oAmzKtsMskk=; b=eyF7oJ8jzZXnSjEQtaZrUqi4mwuWKRWOIW9O8LaGm8MqDGJY2ivCpGoIYOt1Z6+twhPWwg BD27rstCZtNJappHLb/XnRJL/bLtkDIm1ccUAtRxsnvNQZrxM7nK48jtE06jmDLK5BhWQv ogqK7rU9rqVC++YIVNJfV+c9klFxF94= Date: Wed, 2 Dec 2020 19:23:49 +0100 From: Borislav Petkov To: Andrew Jeffery Cc: Troy Lee , Joel Stanley , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Tony Luck , Ryan Chen , James Morse , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list , Robert Richter , "leetroy@gmail.com" , Rob Herring , Stefan M Schaeckeler , Mauro Carvalho Chehab , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "open list:EDAC-CORE" Subject: Re: [PATCH v2 3/3] edac: Supporting AST2400 and AST2600 edac driver Message-ID: <20201202182349.GJ2951@zn.tnic> References: <20201202063612.21241-1-troy_lee@aspeedtech.com> <20201202063612.21241-3-troy_lee@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 01:32:44AM +1030, Andrew Jeffery wrote: > On Wed, 2 Dec 2020, at 19:11, Troy Lee wrote: > > Hi Joel, > > > > Thanks for the suggestion, I'll fix the review and create an new patch > > against > > latest Linux branch. Those exported function will be referenced in > > other driver yet > > to be upstream, so should I move those exported functions out of this > > patch? > > > > Yes, let's leave the exports out of this patch, and add them in when you send > the patch that depends on them. And when you do, almost all new exports are EXPORT_SYMBOL_GPL - not EXPORT_SYMBOL. Also, I'd like to see how those exports are going to be used. An EDAC driver function exported to another driver sounds strange. We have only one other case like this in the EDAC tree: drivers/edac/amd64_edac.c:554:EXPORT_SYMBOL_GPL(amd64_get_dram_hole_info); and even that is not really needed... Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette