Skip to content

Commit 7b64aca

Browse files
committed
rust: drm/gpuvm: bo_unmap() should take &GpuVmBo<T>, not ARef.
Signed-off-by: Asahi Lina <[email protected]>
1 parent 35cc5a3 commit 7b64aca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/drm/gpuvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ impl<T: DriverGpuVm> LockedGpuVm<'_, '_, T> {
593593
})
594594
}
595595

596-
pub fn bo_unmap(&mut self, ctx: &mut T::StepContext, bo: &ARef<GpuVmBo<T>>) -> Result {
596+
pub fn bo_unmap(&mut self, ctx: &mut T::StepContext, bo: &GpuVmBo<T>) -> Result {
597597
let mut ctx = StepContext {
598598
ctx,
599599
gpuvm: self.gpuvm,

0 commit comments

Comments
 (0)