Skip to content

Commit 317f610

Browse files
committed
fixup! rust: drm: mm: Add DRM MM Range Allocator abstraction
1 parent b9a6da6 commit 317f610

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/drm/mm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl<A: AllocInner<T>, T> Allocator<A, T> {
169169
size: u64,
170170
inner: A,
171171
name: &'static CStr,
172-
lock_key: &'static LockClassKey,
172+
lock_key: LockClassKey,
173173
) -> Result<Allocator<A, T>> {
174174
// SAFETY: We call `Mutex::init_lock` below.
175175
let mm = UniqueArc::pin_init(Mutex::new(

0 commit comments

Comments
 (0)