Re: [PATCH v13 3/7] rust: pci: impl AsMut for pci::Device

Abdiel Janulgue
2025-03-07T17:53:14Z

On 07/03/2025 16:18, Greg KH wrote:
> On Fri, Mar 07, 2025 at 01:06:20PM +0200, Abdiel Janulgue wrote:
>> From: Danilo Krummrich <dakr@kernel.org>
>>
>> Some device methods require mutable references, since they change the
>> underlying struct device without lock protection.
>>
>> Hence, make it possible to retrieve a mutable reference to a Device from
>> a mutable pci::Device.
>>
>> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
>> ---
>
> Note, you can't forward on a patch from someone else without also
> signing off on it. Please read the DCO for what this means and why.
>
Thanks for the reminder! Will do so in next revision.

Regards,
Abdiel