EXPORT_SYMBOL_GPL with GPLv3

From: Werner Sembach
Date: Mon Nov 11 2024 - 14:00:28 EST


Hi,

asking at the source: Can EXPORT_SYMBOL_GPL-exports be used with out of tree GPLv3 licensed modules?

- EXPORT_SYMBOL_GPL is documented here https://www.kernel.org/doc/html/latest/kernel-hacking/hacking.html#export-symbol-gpl but this only mentions "GPL" without specifying v2 or v3

- This LWN article only talking about "GPL-compatible" with no version given and that was written before the v3 was released: https://lwn.net/Articles/154602/

- This docs page https://www.kernel.org/doc/html/latest/process/license-rules.html#id1 defining MODULE_LICENSE(“GPL”) as GPL v2, but does not define MODULE_LICENSE(“GPL v3”) nor what is and isn't allowed with it

Kind regards,

Werner Sembach