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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67A27C38A2A for ; Fri, 8 May 2020 14:52:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B84A21841 for ; Fri, 8 May 2020 14:52:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728206AbgEHOwf (ORCPT ); Fri, 8 May 2020 10:52:35 -0400 Received: from smtprelay0037.hostedemail.com ([216.40.44.37]:41870 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726751AbgEHOwf (ORCPT ); Fri, 8 May 2020 10:52:35 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id D2C28100E7B40; Fri, 8 May 2020 14:52:33 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: fuel50_505bb413ac133 X-Filterd-Recvd-Size: 2104 Received: from XPS-9350.home (unknown [47.151.136.130]) (Authenticated sender: joe@perches.com) by omf14.hostedemail.com (Postfix) with ESMTPA; Fri, 8 May 2020 14:52:32 +0000 (UTC) Message-ID: Subject: Re: [PATCH v7 2/5] seq_buf: Export seq_buf_printf() to external modules From: Joe Perches To: Vaibhav Jain , Borislav Petkov Cc: linuxppc-dev@lists.ozlabs.org, linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, "Aneesh Kumar K . V" , Michael Ellerman , Steven Rostedt , Piotr Maziarz , Cezary Rojewski Date: Fri, 08 May 2020 07:52:30 -0700 In-Reply-To: <87blmy8wm8.fsf@linux.ibm.com> References: <20200508104922.72565-1-vaibhav@linux.ibm.com> <20200508104922.72565-3-vaibhav@linux.ibm.com> <20200508113100.GA19436@zn.tnic> <87blmy8wm8.fsf@linux.ibm.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-05-08 at 17:30 +0530, Vaibhav Jain wrote: > Hi Boris, > > Borislav Petkov writes: > > > On Fri, May 08, 2020 at 04:19:19PM +0530, Vaibhav Jain wrote: > > > 'seq_buf' provides a very useful abstraction for writing to a string > > > buffer without needing to worry about it over-flowing. However even > > > though the API has been stable for couple of years now its stills not > > > exported to external modules limiting its usage. > > > > > > Hence this patch proposes update to 'seq_buf.c' to mark > > > seq_buf_printf() which is part of the seq_buf API to be exported to > > > external GPL modules. This symbol will be used in later parts of this > > > > What is "external GPL modules"? > I am referring to Kernel Loadable Modules with MODULE_LICENSE("GPL") > here. Any reason why these Kernel Loadable Modules with MODULE_LICENSE("GPL") are not in the kernel tree?