Re: [PATCH v2] rust: configfs: fix release safety documentation

Andreas Hindborg <[email protected]> Wed, 05 Aug 2026 14:43:51 +0200
Newsgroups org.kernel.vger.rust-for-linux,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Andreas Hindborg <[email protected]> writes:

> Yilin Chen <[email protected]> writes:
>
>> ItemOperationsVTable<Group<Data>, Data>::release() receives a pointer
>> to a config_item, not a config_group.
>>
>> The old Safety docs described the pointer as a config_group embedded in
>> Group<Parent>. Update them to state that the pointer must be the cg_item
>> field of a config_group embedded in a valid Group<Data>.
>>
>> Assisted-by: Codex:GPT-5
>> Signed-off-by: Yilin Chen <[email protected]>
>
> Due to vacation activity, I missed v6.3 for this one. I plan on queuing
> it for v6.4.

v7.4 of course.


Best regards,
Andreas Hindborg