On Mon May 25, 2026 at 8:10 PM JST, Alexandre Courbot wrote: > On Fri May 22, 2026 at 8:34 AM JST, Danilo Krummrich wrote: >> Convert pci::Bar<SIZE> to pci::Bar<'a, SIZE>, storing &'a Device<Bound> >> to tie the BAR mapping lifetime to the device. >> >> iomap_region_sized() now returns Result<Bar<'a, SIZE>> directly instead >> of impl PinInit<Devres<Bar<SIZE>>, Error>. > > A small sentence explaining why that change happens here could be > helpful.
... or not - it's clear that the lifetime makes the Devres irrelevant. But mentioning it explicitly can be helpful nonetheless.
