summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
authorBenno Lossin <benno.lossin@proton.me>2023-04-08 12:25:39 +0000
committerMiguel Ojeda <ojeda@kernel.org>2023-04-12 18:41:05 +0200
commit3ff6e785ad99893f1d502156d23560efd30fec4d (patch)
tree43f1469f5ea3e1cc17096d757b272cd5313b72b1 /scripts/Makefile.build
parentd6dbca3592209d29c10e171224c34803805e88ca (diff)
downloadlinux-stable-3ff6e785ad99893f1d502156d23560efd30fec4d.tar.gz
linux-stable-3ff6e785ad99893f1d502156d23560efd30fec4d.tar.bz2
linux-stable-3ff6e785ad99893f1d502156d23560efd30fec4d.zip
rust: types: add `Opaque::raw_get`
This function mirrors `UnsafeCell::raw_get`. It avoids creating a reference and allows solely using raw pointers. The `pin-init` API will be using this, since uninitialized memory requires raw pointers. Signed-off-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20230408122429.1103522-6-y86-dev@protonmail.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/Makefile.build')
0 files changed, 0 insertions, 0 deletions