On Thu May 28, 2026 at 1:03 AM CEST, Deborah Brouwer wrote:
> On Tue, May 26, 2026 at 11:43:38AM +0900, Eliot Courtney wrote:
>> On Tue May 26, 2026 at 8:01 AM JST, Danilo Krummrich wrote:
>> > @@ -40,9 +39,7 @@
>> > pub(crate) struct GpuInfo(pub(crate) uapi::drm_panthor_gpu_info);
>> >
>> > impl GpuInfo {
>> > - pub(crate) fn new(dev: &Device<Bound>, iomem: &Devres<IoMem>) ->
>> > Result<Self> {
>> > - let io = (*iomem).access(dev)?;
>> > -
>> > + pub(crate) fn new(io: &IoMem<'_>) -> Result<Self> {
>>
>> Perhaps a future patch can remove this now unnecessary looking Result in
>> the return type.
>
> Oh that's right now that we don't have: let io = (*iomem).access(dev)?
> we don't need the Result anymore.
>
> Danilo, I can add this fix to our fw-boot series which I'm preparing to sit
> on top of these changes.
I can send a v2, fix it up on apply when I get an ACK, have Alice fix it up on
apply, or have it done in a follow-up as you offer -- just let me know. :)
>>
>> Reviewed-by: Eliot Courtney <[email protected]>
>>