Skip to content

Commit 66c6cd2

Browse files
committed
rust: drm/gpuvm: bo_unmap() should take &GpuVmBo<T>, not ARef.
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 66cb4d0 commit 66c6cd2

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)