Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp531169pxb; Wed, 18 Aug 2021 07:59:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVjalgck9c82UZvtMxEuzC8BbN2WFjK8abfGgBgnCe3ycksnb5nB8owFUxpj6fU5vjxdzS X-Received: by 2002:a5d:8990:: with SMTP id m16mr7395984iol.170.1629298780575; Wed, 18 Aug 2021 07:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629298780; cv=none; d=google.com; s=arc-20160816; b=htBC9rz6gOFemNT5kShu9LnWBLFOlAw3nYbrBcaFfUfOO8rgkGWW+DZnho18w0saVi /ZtpJ+KT6j3mS5XQRqudxHqiT9V4ZEBKf92K81l38FYGap6sBZIGaQ9kCL83iCubwjGl gRTw2/0iImPoK06eRQx1KHfkIiAmtNhm7Oa9NwL42Gag9LCpYzj40mPOEWFxH+rHu4t1 6aC2akd3hPBbAgeG14kMf160EJ0QT83nSZQt/yvpfMTDhhkB9Jr3iSKEpwG73axJM77d jwlsyVusSWk8H6rIJBhJYaKwLavCv0GJdEcSgvpQRfAb4O1i0eYKUCWUj5SRhos0HAyF nqWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=AdDChgYKFP5pDXKjILxzg9xwSt+lGrgGqLpKDvBxBd0=; b=i+fz+LfdIbUze2qARsBkN8HKhyZwglQ6hOCGlARbu8vokfaZX3G4R/nshi7zRd8DYa LzzU8GqDgD/5ZoyrHmEYrT5oA740t/EUoqt/n4DrQxZUX5UN+E6JDplpsF+zaw2M3Y7F elCCwx9fFo+/5QBJKJCz6i5kn7YMHMSxu1nt4MJN+/52jimWygy1tc/E5+mQQH9VHxDB hxXlhOOrU2L6IoZTSESNz5914tRJMwDeQ2o6oWa0/JYDb6ToE3xEWmA0VzkEfyBaJaVn ythjTf5nZ5xhXhUA7L4WI59A6GWu97qgkXEv1u/3y4PXM2m9ODw35xZwYqXqW5ddepoW HzGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si5375592jaq.39.2021.08.18.07.59.28; Wed, 18 Aug 2021 07:59:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239566AbhHRO6v (ORCPT + 99 others); Wed, 18 Aug 2021 10:58:51 -0400 Received: from verein.lst.de ([213.95.11.211]:34226 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238483AbhHRO6v (ORCPT ); Wed, 18 Aug 2021 10:58:51 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 1787E67373; Wed, 18 Aug 2021 16:58:14 +0200 (CEST) Date: Wed, 18 Aug 2021 16:58:13 +0200 From: Christoph Hellwig To: Matthew Wilcox Cc: Christoph Hellwig , Gabriel Krisman Bertazi , Shreeya Patel , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH 11/11] unicode: only export internal symbols for the selftests Message-ID: <20210818145813.GA13343@lst.de> References: <20210818140651.17181-1-hch@lst.de> <20210818140651.17181-12-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Aug 18, 2021 at 03:56:59PM +0100, Matthew Wilcox wrote: > On Wed, Aug 18, 2021 at 04:06:51PM +0200, Christoph Hellwig wrote: > > The exported symbols in utf8-norm.c are not needed for normal > > file system consumers, so move them to conditional _GPL exports > > just for the selftest. > > Would it be better to use EXPORT_SYMBOL_NS_GPL()? Maybe. Even better would be the EXPORT_SYMBOL_FOR I've been prototyping for a while but which is still not ready.