summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.host
diff options
context:
space:
mode:
authorWedson Almeida Filho <wedsonaf@gmail.com>2024-02-19 11:48:08 +0000
committerMiguel Ojeda <ojeda@kernel.org>2024-02-25 19:17:31 +0100
commite944171070b65521c0513c01c56174ec8fd7d249 (patch)
treedbd917cf6917f54f77f3a816153bddc20bdc5b8a /scripts/Makefile.host
parent4951ddd51b816b5e4095cd3cd3bd46fb73b96a65 (diff)
downloadlinux-stable-e944171070b65521c0513c01c56174ec8fd7d249.tar.gz
linux-stable-e944171070b65521c0513c01c56174ec8fd7d249.tar.bz2
linux-stable-e944171070b65521c0513c01c56174ec8fd7d249.zip
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> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Tested-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Matt Gilbride <mattgilbride@google.com> Link: https://lore.kernel.org/r/20240219-b4-rbtree-v2-1-0b113aab330d@google.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/Makefile.host')
0 files changed, 0 insertions, 0 deletions