Re: [PATCH] lib/plist.c: Export plist_*() APIs

From: Peter Zijlstra
Date: Wed Dec 06 2017 - 10:59:32 EST


On Wed, Dec 06, 2017 at 08:59:27PM +0530, Hareesh Gundu wrote:
>
> On 12/5/2017 8:11 PM, Peter Zijlstra wrote:
> > On Tue, Dec 05, 2017 at 08:05:43PM +0530, Hareesh Gundu wrote:
> > > Allow plist_add(), plist_del() and plist_requeue() APIs to
> > > be referenced by kernel modules by adding the EXPORT_SYMBOL().
> This change is not for in-tree kernel module. It's for modules built outside
> of kernel tree modules.
>
> Is it really required to show out tree kernel modules ?

Typically we don't add EXPORTs for functions not used in in-tree
modules.