Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1002283imu; Fri, 4 Jan 2019 11:04:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN6TELNl23FsVZzewlgk2FPqSFcn9LTGQtpINpeJanhyHpBOtAsGGfcKhdh+i1hrXneLAVGE X-Received: by 2002:a63:4456:: with SMTP id t22mr2661010pgk.0.1546628683487; Fri, 04 Jan 2019 11:04:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546628683; cv=none; d=google.com; s=arc-20160816; b=SwhpExIJgAD5XTDY+3Eum5b0JHZTsvboL78ATrJcNUFqYUkNlTRqO/vrlTxhcr3t4N jWrkPnrikc6ygX/TRDOBRPGr93kma+/7pphT4AIavxJj7GQBmOWMLL0nm7tU6PO8G/rp tIiygpvP0CBfGKpwqV85DOCwtHYBKANmchupDSvE2yZo4WJ40EDBBSb81U4DcZ4MBtGv KnggTgqprwFWVBJIhCnGdMGJEqPSCRVOY1EtDUZ2+tu+cbJRWuvQKSDTUOObbZ7KPqZi g2O9eLIatLRVh6P/Gpk3bn3B3Zb9EmGNYNstp2sWXB1lpU6+7ElNIJs/1/xFHRePgaeV fWvw== 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=cFhh/SpczrtPJ7xHqkNJnPu29+v6tO2n6e+8LLbs2lM=; b=h2yaKH6Iu2F47YQE4KZeQZa8NVORXaxQjq4u7ZDTWN2skNle9ftxRMXnjO8LGwr0n7 IHio54fQ9S2PWv44bPoRLWMjSwzbBXueQsHSp9XAss1PbpWoeZ+2JBxru12f7SI3WwYe 5AzGzOy1DIKKH0lSYYofgykhNsrXEplZQezsWsF99TO6FczSUEKurbYH9WI+5RSJOdDx dF+UHQPM1USPepWgnLNJbrGtfcd97rbfufxM6vIs9HabnHZdHWVQsFGLBHOw4bspsW+0 eVcfGysxyRj37c+T1YPBaikkx1GIUGqKJgK/4nXvSZrEbmjyQAOODMYAvveBmHQwCfC1 4nXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=eKgNahiL; 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 y20si53322190plr.106.2019.01.04.11.04.28; Fri, 04 Jan 2019 11:04:43 -0800 (PST) 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=eKgNahiL; 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 S1726914AbfADR4n (ORCPT + 99 others); Fri, 4 Jan 2019 12:56:43 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:49662 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbfADR4n (ORCPT ); Fri, 4 Jan 2019 12:56:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding: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=cFhh/SpczrtPJ7xHqkNJnPu29+v6tO2n6e+8LLbs2lM=; b=eKgNahiLRd5ko5k90O/tS/8r6 19xDAFf87DSyh4c6+8kz+fh8Dlsy7JK1oX4TgfSsHLCSwXAGEc/2UHm3kMLOIzSdsXmpRM8DVz7di yHTYM+hCWOmr2qj+yEVs5PVDX0vteRPunVSrc+Irq0zj6J4BRZwMcR2ynNSf5rEtowUDyVrlV0ECk 66CybBYhPLnlGKQEHl5M0+U4nlHpdwNd08VC2qrxT+0u/9yih7uExV+1ETQvSm/IUg0PEvw9FD20e xc8OKN3zdrLIZXNw1MB9r7ZlMfPVtjV9BUh/LMfRRcWomOelDDlovJi53S3zY5oP6PcQR9903N9DR cj+RmJj8A==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gfTi3-0002y7-Sj; Fri, 04 Jan 2019 17:56:39 +0000 Date: Fri, 4 Jan 2019 09:56:39 -0800 From: Christoph Hellwig To: Finn Thain Cc: Christoph Hellwig , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v8 05/25] char/nvram: Adopt arch_nvram_ops Message-ID: <20190104175639.GA6347@infradead.org> References: <66ed571883695314ace53080df8f6dfb132a8b4d.1545784679.git.fthain@telegraphics.com.au> <20190103080229.GB11147@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 04, 2019 at 09:08:13AM +1100, Finn Thain wrote: > On Thu, 3 Jan 2019, Christoph Hellwig wrote: > > > > + > > > +const struct nvram_ops arch_nvram_ops = { > > > + .read_byte = nvram_read_byte, > > > + .write_byte = nvram_write_byte, > > > + .get_size = nvram_get_size, > > > +}; > > > +EXPORT_SYMBOL(arch_nvram_ops); > > > > I think something this internal should always be EXPORT_SYMBOL_GPL. > > > > By "internal" do you mean "not involving interests outside of the Linux > Foundation"? TBH, I don't know who's affected. Linux Foundation doesn't matter. But as far as I can see you export the struct from arch code for nvram.ko to use them and no one else, which is clearly internal.