Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp354635rwl; Wed, 9 Aug 2023 15:59:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1QsL3cN7/LFSGEk85OcVpwQZ0fD9bNwrihIiBHxWZNWmpvMDurO9ZAwV7cA/TjTgbn77o X-Received: by 2002:a05:6a20:dd82:b0:142:952d:3e61 with SMTP id kw2-20020a056a20dd8200b00142952d3e61mr631930pzb.7.1691621952117; Wed, 09 Aug 2023 15:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691621952; cv=none; d=google.com; s=arc-20160816; b=DNVINUtESijs0JNL8AyKElrxGgwz0/TdJoYLOntDu+HsSFQeNzB8tFTFItmSvX8fFo FbEsapDMFTuAT9srfYPBlQsP1JjOp1A71jaFkESK6pv8CU/WRKBvC5NgmhJ1sxdgSA+b oNdydoxU391iZfg5n+L8scG3fVO2lUJsZprBjk8reAaYKd2HJk78CawQ+iowFpenSW6a 2IDN2VIqzdfiLBHtQiE3PGNDwzxr9wdeAU7qeQ79UErV5QkjefgEAR1DBx4NUPEha9x7 RveSGjys5Ucid+NO/nXw9CuNmh7sIMCsx5liinVi8RcVLhR0DtEJw5t/ikV7e+p5CmOW dwTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=md0QMIXJf01edhbs+yGhhB4W0Bd2+ymbTe85aAF+L0g=; fh=pv8r68/7WM0830qdBJBQIYCJwof2LS98xa42gAHT4EY=; b=KLOP3epC9NkLW9y14i0WnakvwUoG8xEugL4mZWRO6Rq4+sfidakixecZzhTOj804JM NZ9V57Dc1pB2S2c1agZ2IxXHQAfht3y3tgNfgv10rUwd/gk/j/CEX3ZzBXuJsRaSath/ S1OO5DnBm8YJtHSO3/3lewUJga2DyOzkSoyUNB72U5nLfSv2v1q+8MncpFugwN49WU84 FL0XpVxm6Ly1+SpLCYuo7KC52S2UD+c057LuWZnXCEkUm5d3cGx+SVU0tjltfKjHF/DQ TuPZ2wZSDRiBaeLjx/Irzl8wFbi8gJZ4zDBiISVYaQgApc+37kl9r4jybETmTzJqMSPj cdxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=i+QACLOk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cu14-20020a056a00448e00b0068632b6bc90si218809pfb.114.2023.08.09.15.58.59; Wed, 09 Aug 2023 15:59:12 -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=@gmail.com header.s=20221208 header.b=i+QACLOk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231441AbjHIW3U (ORCPT + 99 others); Wed, 9 Aug 2023 18:29:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbjHIW3T (ORCPT ); Wed, 9 Aug 2023 18:29:19 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1904DA; Wed, 9 Aug 2023 15:29:18 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-bcb6dbc477eso272328276.1; Wed, 09 Aug 2023 15:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691620158; x=1692224958; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=md0QMIXJf01edhbs+yGhhB4W0Bd2+ymbTe85aAF+L0g=; b=i+QACLOkeS4nZ3g4o2ZoxhnSh4XeW2x5x1TnffvXS4FKlD0oRvNuRY8J1tn9v4CUPD Jge8jsRgj3IuO/u3RSQqruD6g4hi+QjWJ59CvRpUEaiXtKRjGRqeQcsx0fGzl15vKN/L QdvsTXiUlUF3xdoArCdL+NO6QiSh+od8guo1T53zHZe4qazVAg+L5r+9HoNzf3PTy92g KbxdZ3TQiCToA2DISz6qkYsGjElojMpvZKayjdJjfb/M10LBpclAXAVXwqgfN1v4/bf5 jW6t/+vAHTaiXk3XK3Ebkw1ayFmfVHf2TkXeUu97iYv0siM4wuVq2Igg/mbcdtiTMIDc c6mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691620158; x=1692224958; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=md0QMIXJf01edhbs+yGhhB4W0Bd2+ymbTe85aAF+L0g=; b=a2wfzkWgq6eZoBOZw397Md+eThwuhx9P+zgIV8frQIgf+7Yto9BtI3CKLXp/L+22gH PvT4zXzi1SL2c7ve8v/p5gdWo4goOJdkS9i8OJ4N9pfO2zwYqmeA1dKB5Sw94ECv24TS y0iPJaNrxt0zMsNJom3tukQGCafyqwhDIuXxy7quvWoUwjO1ZbQcZH19fD/1dlHAzeiR 6VIH5QAwltNKmzJl+KYUrXcSIhkJ0hkxd265O0JFlOcF2FSGCczonnSPdaabnGEC8rQR ktdLMSNuxSvEPBpajsphu4kqktq/GbVtHxlDjvZD7Ks4AEL1HN4ld7fcIgMrWVnU9KEF xoww== X-Gm-Message-State: AOJu0YxXI/YH6RfmHn99t3pKHOEdy1i8t6QvjDlhP27dsBmnvZGdVN9s QJA2cYYkeH+XUKOYqaoZv3n724z3A/tVBP57PqI= X-Received: by 2002:a25:ab61:0:b0:ce8:4567:a382 with SMTP id u88-20020a25ab61000000b00ce84567a382mr886673ybi.1.1691620157888; Wed, 09 Aug 2023 15:29:17 -0700 (PDT) MIME-Version: 1.0 References: <20230628171108.1150742-1-gary@garyguo.net> <20230809230249.01ffc009.gary@garyguo.net> In-Reply-To: <20230809230249.01ffc009.gary@garyguo.net> From: Miguel Ojeda Date: Thu, 10 Aug 2023 00:29:06 +0200 Message-ID: Subject: Re: [PATCH] rust: macros: add `paste!` proc macro To: Gary Guo Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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:02=E2=80=AFAM Gary Guo wrote: > > Sorry I forgot to add license comments! No problem at all :) > 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. > 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 then. Thanks for the very quick reply! Cheers, Miguel