From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B679C43462 for ; Tue, 20 Apr 2021 18:46:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3102361029 for ; Tue, 20 Apr 2021 18:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233669AbhDTSqf (ORCPT ); Tue, 20 Apr 2021 14:46:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233541AbhDTSqe (ORCPT ); Tue, 20 Apr 2021 14:46:34 -0400 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68840C06174A; Tue, 20 Apr 2021 11:46:02 -0700 (PDT) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94 #2 (Red Hat Linux)) id 1lYvNH-006r8h-GM; Tue, 20 Apr 2021 18:45:27 +0000 Date: Tue, 20 Apr 2021 18:45:27 +0000 From: Al Viro To: Lukas Bulwahn Cc: Qing Zhang , Thomas Bogendoerfer , Thomas Gleixner , Marc Zyngier , Huacai Chen , Jiaxun Yang , linux-spdx@vger.kernel.org, "open list:BROADCOM NVRAM DRIVER" , Linux Kernel Mailing List , devicetree@vger.kernel.org, Ming Wang Subject: Re: Invalid License ID: GPL-3.0 for arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 20, 2021 at 11:39:04AM +0200, Lukas Bulwahn wrote: > Dear Qing, > > ./scripts/spdxcheck.py reports: > > arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi: 1:28 Invalid > License ID: GPL-3.0 > > You have contributed this file with commit b1a792601f26 ("MIPS: > Loongson64: DeviceTree for Loongson-2K1000") to the current > linux-next. > > Do you intend to contribute this under this non-default license > (GPL-3.0) for the kernel project or did you simply mean the default > license GPL-2.0? Ouch... That's quite likely to be impossible to distribute, since the requirements of v2 and v3 are mutually incompatible and quite a bit of the kernel is under v2-only, not v2-or-any-later-version. Seriously, folks - talk to lawyers; if the result is *NOT* a mere aggregation (i.e. is derived work wrt the kernel proper), you are in a copyright violation. Moreover, if anything in that file is derived from others' work, you can't use GPL-3.0 unless the terms for everything it's derived from allow redistribution under GPL-3.0. Anything derived from others' GPL-2.0 work (as opposed to GPL-2.0-or-later one) can't be relicensed to GPL-3.0 at all.