Re: [PATCH] rust: net: phy: fix off-by-one bit positions in device status accessors
Miguel Ojeda <[email protected]>
| Newsgroups | org.kernel.vger.rust-for-linux,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CANiq72mUbkEcvffQV-mNLfCxGkgTqwq1qQLuWpENsUCCBAHOqw@mail.gmail.com> |
On Sun, Aug 23, 2026 at 12:37 PM Chunfeng Song <[email protected]> wrote: > > Fixes: f20fd5449ada ("rust: core abstractions for network PHY drivers") > Link: https://www.spinics.net/lists/netdev/msg951815.html (v8 cover letter, where the bitfield access was flagged as needing a fix) I assume that this will need: | Cc: [email protected] By the way, a link to lore.kernel.org would be better. In addition, is there a way to avoid this to begin with? e.g. why are hardcoded literals used? Thanks! Cheers, Miguel