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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A142BC4167B for ; Sat, 25 Nov 2023 14:26:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232142AbjKYO03 (ORCPT ); Sat, 25 Nov 2023 09:26:29 -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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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