diff options
Diffstat (limited to 'rust/kernel/debugfs')
| -rw-r--r-- | rust/kernel/debugfs/traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/debugfs/traits.rs b/rust/kernel/debugfs/traits.rs index 2c32ddf9826f..82441ac8adaa 100644 --- a/rust/kernel/debugfs/traits.rs +++ b/rust/kernel/debugfs/traits.rs @@ -257,7 +257,7 @@ pub trait BinaryReader { } // Delegate for `Mutex<T>`: Support a `T` with an outer `Mutex`. -impl<T: BinaryReaderMut> BinaryReader for Mutex<T> { +impl<T: BinaryReaderMut + Unpin> BinaryReader for Mutex<T> { fn read_from_slice( &self, reader: &mut UserSliceReader, |