The bulk of this change occurs in the last commit, please its commit messages for details. The first commit exists in 2 other series but was picked into this series to allow using `container_of!` without the need to cast from `*const Self` to `*mut Self`. Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx> --- Changes in v2: - Change type parameter delimiter to `{}` for consistency. (Boqun Feng) - Rebase on v6.15-rc1. - Extract first commit to its own series as it is shared with other series. - Link to v1: https://lore.kernel.org/r/20250324-list-no-offset-v1-0-afd2b7fc442a@xxxxxxxxx --- Tamir Duberstein (4): rust: list: simplify macro capture rust: list: use consistent type parameter style rust: list: use consistent self parameter name rust: list: remove OFFSET constants rust/kernel/list.rs | 18 +++-- rust/kernel/list/impl_list_item_mod.rs | 128 +++++++++++++++------------------ 2 files changed, 67 insertions(+), 79 deletions(-) --- base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8 change-id: 20250324-list-no-offset-96ef65cb2a95 prerequisite-change-id: 20250409-container-of-mutness-b153dab4388d:v1 prerequisite-patch-id: 53d5889db599267f87642bb0ae3063c29bc24863 Best regards, -- Tamir Duberstein <tamird@xxxxxxxxx>