diff options
author | 2025-05-21 01:17:13 +0200 | |
---|---|---|
committer | 2025-07-22 13:52:14 +0200 | |
commit | 4e6b5b8ab3e28148d04a63defadc29cfc771b102 (patch) | |
tree | 0f1084d716641233f44a28f13ced0dabba0635ce /rust/kernel/types.rs | |
parent | rust: types: remove `Either<L, R>` (diff) | |
download | wireguard-linux-4e6b5b8ab3e28148d04a63defadc29cfc771b102.tar.xz wireguard-linux-4e6b5b8ab3e28148d04a63defadc29cfc771b102.zip |
rust: sync: fix safety comment for `static_lock_class`
The safety comment mentions lockdep -- which from a Rust perspective
isn't important -- and doesn't mention the real reason for why it's
sound to create `LockClassKey` as uninitialized memory.
Signed-off-by: Benno Lossin <lossin@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250520231714.323931-1-lossin@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/types.rs')
0 files changed, 0 insertions, 0 deletions