[PATCH] Documentation: clarify driver licensing rules

From: Dave Hansen
Date: Tue Aug 11 2020 - 13:24:04 EST



Resend. Something appears to have eaten this on the way to LKML
(at least) the last time.

--

From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

Greg has challenged some recent driver submitters on their license
choices. He was correct to do so, as the choices in these instances
did not always advance the aims of the submitters.

But, this left submitters (and the folks who help them pick licenses)
a bit confused. They have read things like
Documentation/process/license-rules.rst which says:

individual source files can have a different license
which is required to be compatible with the GPL-2.0

and Documentation/process/submitting-drivers.rst:

We don't insist on any kind of exclusive GPL licensing,
and if you wish ... you may well wish to release under
multiple licenses.

As written, these appear a _bit_ more laissez faire than we've been in
practice lately. It sounds like we at least expect submitters to make
a well-reasoned license choice and to explain their rationale. It does
not appear that we blindly accept anything that is simply
GPLv2-compatible.

Drivers appear to be the most acute source of misunderstanding, so fix
the driver documentation first. Update it to clarify maintainer
expectations.

Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
Cc: H. Peter Anvin <h.peter.anvin@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: linux-spdx@xxxxxxxxxxxxxxx
Cc: linux-doc@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---

b/Documentation/process/submitting-drivers.rst | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff -puN Documentation/process/submitting-drivers.rst~clarify-dual-licensing Documentation/process/submitting-drivers.rst
--- a/Documentation/process/submitting-drivers.rst~clarify-dual-licensing 2020-08-11 09:35:55.493109636 -0700
+++ b/Documentation/process/submitting-drivers.rst 2020-08-11 09:35:55.496109636 -0700
@@ -59,11 +59,13 @@ What Criteria Determine Acceptance
----------------------------------

Licensing:
- The code must be released to us under the
- GNU General Public License. We don't insist on any kind
- of exclusive GPL licensing, and if you wish the driver
- to be useful to other communities such as BSD you may well
- wish to release under multiple licenses.
+ The code must be released to us under the GNU General Public
+ License. While there are no kernel-wide rules, some maintainers
+ may insist on exclusive GPL licensing by default. If you wish
+ the driver to be useful to other communities such as BSD you may
+ well wish to release under multiple licenses. If you choose to
+ release under multiple licenses, you should include your
+ rationale for your license choices in your cover letter.
See accepted licenses at include/linux/module.h

Copyright:
_