rust: list: use consistent type parameter style
authorTamir Duberstein <tamird@gmail.com>
Wed, 9 Jul 2025 19:31:12 +0000 (15:31 -0400)
committerMiguel Ojeda <ojeda@kernel.org>
Sat, 19 Jul 2025 21:18:18 +0000 (23:18 +0200)
commit9cec86e4ae000947b268913ca0ef6ba519b6719a
tree98b5e5e6feaacab7074c4ced71f22635ac209d9e
parente71d7e39be6e2aa3fbba34cad12aa72ab853cfb5
rust: list: use consistent type parameter style

Refer to the type parameters of `impl_has_list_links{,_self_ptr}!` by
the same name used in `impl_list_item!`. Capture type parameters of
`impl_list_item!` as `tt` using `{}` to match the style of all other
macros that work with generics.

Reviewed-by: Christian Schrefl <chrisi.schrefl@gmail.com>
Tested-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://lore.kernel.org/r/20250709-list-no-offset-v4-2-a429e75840a9@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/list/impl_list_item_mod.rs