aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/auxiliary.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-04-14 13:18:04 +0000
committerDanilo Krummrich <[email protected]>2025-04-19 08:41:28 +0000
commit9647b6c5095aa54701df009a7335d07013cd13c4 (patch)
tree9484ebf60ed710ca9f7724f4df3ff59fae05f831 /rust/helpers/auxiliary.c
parentrust: platform: impl TryFrom<&Device> for &platform::Device (diff)
downloadkernel-9647b6c5095aa54701df009a7335d07013cd13c4.tar.gz
kernel-9647b6c5095aa54701df009a7335d07013cd13c4.zip
rust: types: add `Opaque::zeroed`
Analogous to `Opaque::uninit` add `Opaque::zeroed`, which sets the corresponding memory to zero. In contrast to `Opaque::uninit`, the corresponding value, depending on its type, may be initialized. Acked-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Acked-by: Miguel Ojeda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/auxiliary.c')
0 files changed, 0 insertions, 0 deletions