The bulk of this change occurs in the last commit, please its commit messages for details. Signed-off-by: Tamir Duberstein <tamird@xxxxxxxxx> --- Changes in v3: - Add a patch to improve macro hygiene. - Add a patch to include examples for all macros. - Make it build properly! - Link to v2: https://lore.kernel.org/r/20250409-list-no-offset-v2-0-0bab7e3c9fd8@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 (6): rust: list: simplify macro capture rust: list: use consistent type parameter style rust: list: use consistent self parameter name rust: list: use fully qualified path rust: list: add `impl_list_item!` examples rust: list: remove OFFSET constants rust/kernel/list.rs | 18 ++- rust/kernel/list/impl_list_item_mod.rs | 233 ++++++++++++++++++++++----------- 2 files changed, 165 insertions(+), 86 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>