diff options
| author | 2025-11-29 18:17:06 +0530 | |
|---|---|---|
| committer | 2026-01-25 23:09:09 +0100 | |
| commit | 1cab0874875a1c37f71edf1e1e3029b1cf31d81e (patch) | |
| tree | e2525000f8339b4a784f062cd112f3f056023651 /include/linux/hsi/ssh:/git@git.zx2c4.com/git: | |
| parent | rust: debugfs: use pin_init::zeroed() for file_operations (diff) | |
rust: auxiliary: use `pin_init::zeroed()` for device ID
Replace the previous `unsafe { core::mem::zeroed() }` initialization
for `bindings::auxillary_device_id` with `pin_init::zeroed()`. This removes
the explicit unsafe block and uses the safer pinned zero-initialization
helper.
Suggested-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Atharv Dubey <atharvd440@gmail.com>
Link: https://github.com/Rust-for-Linux/linux/issues/1189
Link: https://patch.msgid.link/20251129124706.26263-1-atharvd440@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/hsi/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
