From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="GYstUn6C" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A37C92D4E; Mon, 11 Dec 2023 06:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=FTx9In7nzqT/6sQ6DfpiMYwwj1SCTODIoowrPqH3gUg=; b=GYstUn6C+W2RDEwXgu28exhPuU bEaCcYWEh/TN85SZsFfNDnCEooKmTGI+fYcL0zFqsJerECTclNYVfpdNE2Jva49W0dDNwvwTsNkNt 2Dfk4gGSaqecfaNqdtZPbDKr9HOPoiixAHg1WWQhVme1z0gia0NogvJz3xZ08FEMVmmA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rCgqV-002clJ-RW; Mon, 11 Dec 2023 15:01:19 +0100 Date: Mon, 11 Dec 2023 15:01:19 +0100 From: Andrew Lunn To: FUJITA Tomonori Cc: netdev@vger.kernel.org, rust-for-linux@vger.kernel.org, tmgross@umich.edu, miguel.ojeda.sandonis@gmail.com, benno.lossin@proton.me, wedsonaf@gmail.com, aliceryhl@google.com, boqun.feng@gmail.com Subject: Re: [PATCH net-next v10 2/4] rust: net::phy add module_phy_driver macro Message-ID: References: <20231210234924.1453917-1-fujita.tomonori@gmail.com> <20231210234924.1453917-3-fujita.tomonori@gmail.com> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231210234924.1453917-3-fujita.tomonori@gmail.com> On Mon, Dec 11, 2023 at 08:49:22AM +0900, FUJITA Tomonori wrote: > This macro creates an array of kernel's `struct phy_driver` and > registers it. This also corresponds to the kernel's > `MODULE_DEVICE_TABLE` macro, which embeds the information for module > loading into the module binary file. > > A PHY driver should use this macro. > > Signed-off-by: FUJITA Tomonori > Reviewed-by: Alice Ryhl > Reviewed-by: Benno Lossin Reviewed-by: Andrew Lunn Andrew