Re: [PATCH] rust: kernel: list: fix incorrect pop_back example comment
From: Miguel Ojeda
Date: Mon Aug 10 2026 - 11:22:26 EST
On Mon, Aug 10, 2026 at 5:03 PM Nikolai Grlica
<nikolai@xxxxxxxxxxxxxxxxx> wrote:
>
> The example uses pop_back(), but the accompanying comment says
> pop_front(). Update the comment to match the example.
>
> Signed-off-by: Nikolai Grlica <nikolai@xxxxxxxxxxxxxxxxx>
Good eyes, thanks -- and welcome! I think it is your first patch to
the kernel (?).
Some extra tags I will add when applying it:
Cc: stable@xxxxxxxxxxxxxxx
Fixes: bf87a41b85d6 ("rust: list: Add an example for `ListLinksSelfPtr` usage")
By the way, for future patches, please remember to Cc the relevant
reviewers and maintainers -- you can use e.g.
`scripts/get_maintainer.pl` for that. Done here for you! :) I have
some other tips and links here:
https://rust-for-linux.com/contributing
I hope that helps!
Cheers,
Miguel