Re: [PATCH v5 17/24] rust: driver: update module documentation for GAT-based Data type

From: Gary Guo

Date: Wed May 27 2026 - 09:33:22 EST


On Mon May 25, 2026 at 9:21 PM BST, Danilo Krummrich wrote:
> Now that all bus driver traits use type Data<'bound>: 'bound, update the
> illustrative driver trait in the module documentation to reflect the GAT
> pattern and lifetime-parameterized callbacks.
>
> Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>

Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>

> ---
> rust/kernel/driver.rs | 20 +++++++++++++-------
> 1 file changed, 13 insertions(+), 7 deletions(-)