Re: [PATCH v6 06/20] rust: io: rename `Mmio` to `MmioOwned`
Daniel Almeida <[email protected]>
| Newsgroups | org.kernel.vger.linux-pwm,dev.linux.lists.driver-core,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
> On 6 Jul 2026, at 09:44, Gary Guo <[email protected]> wrote: > > Most users would more commonly reach out to a view of `Mmio` rather than an > owned instance of `Mmio`. Only implementor of `Io` like `Bar` or `IoMem` > would need the owned version. Thus, rename `Mmio` to `MmioOwned` so that > the name `Mmio` can be used for the view type instead. > > Reviewed-by: Alexandre Courbot <[email protected]> > Signed-off-by: Gary Guo <[email protected]> > Hmm.. thinking a bit more about this, shouldn’t the adjective precede the noun? OwnedMmio would mimic the English language and there is already precedence in RelaxedMmio. — Daniel