Skip to content

Commit c49d020

Browse files
committed
fixup! rust: sync: Replace static LockClassKey refs with a pointer wrapper
1 parent bbaea47 commit c49d020

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rust/kernel/sync/lockdep.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ impl LockClassKey {
4141
// SAFETY: `bindings::lock_class_key` just represents an opaque memory location, and is never
4242
// actually dereferenced.
4343
unsafe impl Send for LockClassKey {}
44+
// SAFETY: `bindings::lock_class_key` just represents an opaque memory location, and is never
45+
// actually dereferenced.
4446
unsafe impl Sync for LockClassKey {}

0 commit comments

Comments
 (0)