diff options
| author | Ke Sun <sunke@kylinos.cn> | 2026-01-20 16:38:20 +0800 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-01-25 20:53:30 +0100 |
| commit | ae3bf7612220ac8a8020a285142e0d918543a408 (patch) | |
| tree | 98a8a42d433cb49d749353a4c2f23c8f13616116 /include/linux/device | |
| parent | f8ed7a49d40aea7769d80e05a3b7b14594cb3aef (diff) | |
rust: debugfs: use pin_init::zeroed() for file_operations
Replace unsafe core::mem::zeroed() with pin_init::zeroed() for
file_operations initialization in all debugfs file operation
implementations.
Suggested-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Ke Sun <sunke@kylinos.cn>
Link: https://github.com/Rust-for-Linux/linux/issues/1189
Link: https://patch.msgid.link/20260120083824.477339-5-sunke@kylinos.cn
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/device')
0 files changed, 0 insertions, 0 deletions
