FROMLIST: rust: add `container_of!` macro
This macro is used to obtain a pointer to an entire struct when given a pointer to a field in that struct. Signed-off-by:Wedson Almeida Filho <wedsonaf@gmail.com> Signed-off-by:
Matt Gilbride <mattgilbride@google.com> Bug: 324206405 Link: https://lore.kernel.org/all/20240205-b4-rbtree-v1-1-995e3eee38c0@google.com/ Change-Id: Ifd118a599d6f718036b0f4fee0ea3f5bb2817d43 Signed-off-by:
Alice Ryhl <aliceryhl@google.com>
Loading
Please sign in to comment