Skip to content

Commit

Permalink
Update programs/bpf_loader/src/syscalls/mod.rs
Browse files Browse the repository at this point in the history
comment tweak

Co-authored-by: Petar Vujović <[email protected]>
  • Loading branch information
jason-nitro and petarvujovic98 authored Nov 4, 2024
1 parent 35916e2 commit a710448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/bpf_loader/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ impl<'a, T> VmSlice<'a, T> {
}
}

// Returns a slice using a mapped physical address
/// Returns a slice using a mapped physical address
pub fn translate(&self) -> Result<&'a [T], Error> {
translate_slice::<T>(self.memory_mapping, self.ptr, self.len, false)
}
Expand Down

0 comments on commit a710448

Please sign in to comment.