On Mon, Oct 23, 2017 at 12:56:27PM +0100, Alan Cox wrote: > On Sat, 2017-10-21 at 10:34 +0100, Mark Brown wrote: > > On Thu, Oct 19, 2017 at 08:33:23AM +0530, Vinod Koul wrote: > > > +EXPORT_SYMBOL(__regmap_init_sdw); > > ...this is just an obvious attempt to allow non-GPL code to directly > > use > > GPL code. > There's nothing in the GPL about EXPORT_SYMBOL. If its built GPL > dependent then it depends upon GPL code so is GPL. My point is that in the context of this very thin wrapper around an API that's entirely EXPORT_SYMBOL_GPL() dropping the _GPL() from the export looks like it's going to enable questionable usage, probably in this case it's just an oversight caused by all the other non-GPL exports in the Slimbus code rather than something that's intentional. This seems particularly important here in something that's for drivers rather than the subsystem itself since people might make assumptions (justified or not) based on the EXPORT_SYMBOL() exports.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel