Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp702919rwl; Wed, 9 Aug 2023 23:33:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlCi1mhsqd5z0NuVHJTI8WW6cey7lhBga8Ii/yG8CMdAQ3HXGeVodvUu124kP+eQYTZLEq X-Received: by 2002:a05:6a20:5525:b0:126:af02:444e with SMTP id ko37-20020a056a20552500b00126af02444emr1502476pzb.8.1691649208433; Wed, 09 Aug 2023 23:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691649208; cv=none; d=google.com; s=arc-20160816; b=fhGBS+oESKP5Ow+OfF4VLlTC92/nN7MOMwHl9RXvOo+reg/3O91z9wBg9Ql+Itrdu8 WbeUbEZy4ul6jsSdPuUJgqrf1+ZjOLeYD1LOh016cG31RODdSMcu9TNtjl3qdCwSQSAL fDzkxMmxrORmPrJZF7YvDqc2mAijwYU/cUIpMSf8hiZ1EUUa4x52ooNXeM0iJSpmxktv 3GaUrWPHgAOFqMl0qkIItZMWLgxsgoKpgDHb853wmnjB/KOxFIiITgD8621Ekd9ubHmi 6x2hkH7r96IZtqVNQR3f0VtSQlNZLWnXkpfqkgKRgJ0JRH3h8hpfIydBXBaWW4RFumkx iUoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JcDFSL34Ee6PSomfToTe4CNP+kXpxwFS59nBN4+9p/o=; fh=rXv4ELvapHJewCM4oWhFNJvN3as3sfj8TnHL5GNgeRc=; b=MW/z8pfbLDs0qWxCXimCdbHsqNHxMrRDhmRZQc3PbyGoK9VRb9ojYIHV5SkG0W971W HyE75Hdn0U663N9IBUg931LQjFtAcAG0Eq6okiEHfZxuTE/+zG9JC0zuaqrjeXDVYWzK QxOKE0jWC8nrUGV1ErvQwy0fo1nKKAwXrScZH1vl3VOJTsae0+DjNyMzWuPM+14qMzYa v4Fk5ERrIJ7F2Iqn12sjhCa6lHXOxPH+zMjP1Pk+3oKOUvTFYCZ4N47LB4HC0Esl+cNr tqwPKbz3s7O2kzprbXBgWcNV/4qP8dGAvD1Dt2oamP5KWSKzoVF9U5uSze4nL2dzAtMM lBpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ehZ1bnIW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b23-20020a630c17000000b005648d20203dsi971388pgl.233.2023.08.09.23.33.16; Wed, 09 Aug 2023 23:33:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ehZ1bnIW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231640AbjHJFI6 (ORCPT + 99 others); Thu, 10 Aug 2023 01:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbjHJFI5 (ORCPT ); Thu, 10 Aug 2023 01:08:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2FCF196 for ; Wed, 9 Aug 2023 22:08:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7EE60632CA for ; Thu, 10 Aug 2023 05:08:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 626F3C433C7; Thu, 10 Aug 2023 05:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691644135; bh=ltls7Xy4ElJg5NFV7SuJ3Wpgo3N85rLluLSWpMQltU8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ehZ1bnIWQJcTIoq8oGlqWmFYToNHrYUYZmhryU4gBToY57nJtzGyGoA2fNFIaGcD5 oeyibd47GuNXCHy+wYpppc8bX0OWjxFAbebx1+wTblgAruc+JusNzpo2BvvbeKjbpJ /QrD9EM4lg+vQMZh/ETZUk+g0M7+Z09uReh93BTw= Date: Thu, 10 Aug 2023 07:08:52 +0200 From: Greg KH To: Miguel Ojeda Cc: Gary Guo , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Subject: Re: [PATCH] rust: macros: add `paste!` proc macro Message-ID: <2023081043-cake-catwalk-1ba8@gregkh> References: <20230628171108.1150742-1-gary@garyguo.net> <20230809230249.01ffc009.gary@garyguo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 10, 2023 at 12:29:06AM +0200, Miguel Ojeda wrote: > > All my kernel contributions are permissively licensed if possible, so I > > am fine with this being either MIT or GPL-2.0 (I think GPL-2.0 is > > deprecated in as a SPDX license identifier and it should be > > GPL-2.0-only going forward, though). > > Yeah, the 3.0 version of the SPDX license list deprecated `GPL-2.0`, > but the kernel still allows `GPL-2.0` and lists it first. I recall > thinking about this before the initial merge, and I think I went with > the original form because the main `COPYING` file still uses that. > After that I am just keeping it consistent, though I am not sure when > the kernel will migrate. The kernel will migrate when we have converted all files in the tree to SPDX and can worry about things like the SPDX version level. We have a ways to go still... > > Given this is non-kernel specific generic code, I think it might worth > > following the convention of the paste and pin-init code and make it > > `Apache-2.0 OR MIT`? This would also make it the same license as the > > `paste` crate (although we don't have to keep the same license as this > > is a different implementation). > > > > I'll leave the final decision to you. > > Since you prefer it and it makes sense that someone may want to use it > (`concat` and `expand`) elsewhere, let's go with that. I will add: > > // SPDX-License-Identifier: Apache-2.0 OR MIT Be VERY careful with dual licenses please, and especially non-GPL ones in the kernel tree. It gets tricky very very quickly and you need to know what you are doing. So much so that I really want to see a lawyer sign off on such a thing so that everyone involved understands the issues that this requires. Otherwise please, just default to GPL-2.0 for kernel code, unless you have real reasons why it can't be that way, as remember, the overall license of the codebase is that. thanks, greg k-h