Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1890706rdh; Sat, 25 Nov 2023 06:26:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+ElLGzuaDnjSIUF3IPvcrhBQ+QetU2otBk+w7+YFsyM2GFYpAg+3Y3z9tl5X12qhdFKEL X-Received: by 2002:a17:90b:3b4a:b0:285:8cb1:7f1d with SMTP id ot10-20020a17090b3b4a00b002858cb17f1dmr5060654pjb.5.1700922404550; Sat, 25 Nov 2023 06:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700922404; cv=none; d=google.com; s=arc-20160816; b=q96HYEXnis1WUqx51GSJ33snGqCKjzGcojAoCwQoL4tqSZ2D+MzfWOGtztJ9Hxqmlo o9/LiPvW1tArChrob7IuuXjzYKBaaFyfjklgRtFjIFdDl7Lz93FeQOgx7RaWufeO+Po+ 6GdsrQuoYyaotn3dNlke3visRN/FbS+3jmXj8cWwhL15C36Qz2uPdpcLgecKuphHQfat Tl4sWNQLHvmdfxtALB15YFvKSxnLjpTcNQbm1msOSQ5DzdKAZa9ftYEWRcWcT1EEPw2C ZQ2hweKhvsXx/TLKvJqTN0aAkbDFs9z8mIoPQ4k45gsvROXcO/v5j/S9LIzDqxB1e+sN H+8w== 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=cgk0wObqRZk36AnfNF3rKpJ8knnMPs7MpiPSJWofyf4=; fh=liO4paFD1RF0JUzvyhY110VaZRw0lg70UxCfITmuhZ8=; b=0qP8qevNU8TwWFoY5kuEHeu2ogC1ihFtJiYlByL3HxdKbaQhugtonPtyAOi9rGIgFb 1n4dC5o0i9IODGTa6a2YokeX9/Q9ZgzSoYP14NBRGs55yU+5OuS/hvRYhNpYRizRXPmA V3S+Ap2n5pAFrNLS+9sb1cwGye3h62XoP5YmQ1FhtU/xfpN3bj07eEiCcFeICrakiGRl f8ssJMhOwnKHGco5Eph0i+ztiXa3VmK0vv4c4yH1QLeKGiZ6hzMoUIi/zYINew0yxWbN 4y/90JrpD7RkCWCtcNiXF4MmB1EfOelvNSsgytvYkfBfNkOJ+/K0klJOTVT7JfglQ01c d2Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HICul6Y3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id x24-20020a17090ab01800b00262ff3a4545si6332256pjq.169.2023.11.25.06.26.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 06:26:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HICul6Y3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4C300809CC8C; Sat, 25 Nov 2023 06:26:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232098AbjKYO02 (ORCPT + 99 others); Sat, 25 Nov 2023 09:26:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjKYO01 (ORCPT ); Sat, 25 Nov 2023 09:26:27 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84518B0 for ; Sat, 25 Nov 2023 06:26:34 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BCDEC433C8; Sat, 25 Nov 2023 14:26:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700922394; bh=WJqDOKsJ9Glk7K1YdRCLvcxH6F02SwD8nx0As1NGWuM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HICul6Y3wp0+NFZgm9sAIPvoYVL4zS5BjH8s/DtReiEWIEkWqsDbkLVK+t6Lw9LCO p/OXrAFzJH5lvqf7IhERRyjnvBqcjiTrgalErU4zhcW/dZQ1EUHT0vuG+tOsUxXftA H5Q/5jTTWOjD5ZZzqFdnphVCIAdDWA6YDgABH7X4= Date: Sat, 25 Nov 2023 14:26:30 +0000 From: Greg KH To: Benno Lossin Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Andreas Hindborg , Alice Ryhl , Martin Rodriguez Reboredo , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] rust: macros: allow generic parameter default values in `#[pin_data]` Message-ID: <2023112525-impatient-untwist-ee3d@gregkh> References: <20231125125024.1235933-1-benno.lossin@proton.me> <20231125125024.1235933-2-benno.lossin@proton.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231125125024.1235933-2-benno.lossin@proton.me> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 25 Nov 2023 06:26:42 -0800 (PST) On Sat, Nov 25, 2023 at 12:51:09PM +0000, Benno Lossin wrote: > This patch adds compatibilty for generic parameters defaults by using > the newly introduced `decl_generics` instead of the `impl_generics`. This says _what_ is happening here, but not _why_ this is needed at all. Try taking a look a the kernel documentation for how to write a good changelog text to make this much better. It's often times the most difficult portion of making a kernel patch, the code is easy, writing a summary of why everyone else should agree that this code is acceptable is hard. good luck! greg k-h