[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a7c687a-29a9-4a1a-ad69-39ce7edad371@lunn.ch>
Date: Sat, 17 Aug 2024 20:51:49 +0200
From: Andrew Lunn <andrew@...n.ch>
To: FUJITA Tomonori <fujita.tomonori@...il.com>
Cc: netdev@...r.kernel.org, rust-for-linux@...r.kernel.org,
tmgross@...ch.edu, miguel.ojeda.sandonis@...il.com,
benno.lossin@...ton.me, aliceryhl@...gle.com
Subject: Re: [PATCH net-next v4 6/6] net: phy: add Applied Micro QT2025 PHY
driver
> + fn read_status(dev: &mut phy::Device) -> Result<u16> {
> + dev.genphy_read_status::<C45>()
> + }
Probably a dumb Rust question. Shouldn't this have a ? at the end? It
can return a negative error code.
Andrew
Powered by blists - more mailing lists