On Sun, Dec 26, 2021 at 3:02 PM Joe Perches <joe@xxxxxxxxxxx> wrote: > > On Sun, 2021-12-26 at 14:19 +0100, Andrey Konovalov wrote: > > I wonder if checkpatch could alert about considering GPL-2.0+ when > > adding new files. > > No. Licensing is up to the author/submitter. You're right. However, knowingly choosing a license requires that the author doesn't forget to look into the difference and understand it. When I contributed this code, I didn't realize that GPL-2.0 and GPL-2.0+ are different things. I was focused on the excitement of contributing a new USB gadget driver. What would have allowed my to not overlook this, is that if throughout the _process_ of contributing a new module, something would _ask_ me: "Is this really the license you want to use?". Within my process of submitting kernel patches, that could have been either checkpatch or an email bot. I don't insist that this must be done by checkpatch; this could be done by another entity. However, it would be nice to see this as an explicit step of a standardized contribution process. Thanks!