From a7104485ddd193c82f43a38da9d5edd16df7e610 Mon Sep 17 00:00:00 2001 From: Jason Davis Date: Mon, 4 Nov 2024 12:08:38 -0600 Subject: [PATCH] Update programs/bpf_loader/src/syscalls/mod.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit comment tweak Co-authored-by: Petar Vujović --- programs/bpf_loader/src/syscalls/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/bpf_loader/src/syscalls/mod.rs b/programs/bpf_loader/src/syscalls/mod.rs index 3857120d562b7a..d83bc1fbe98da6 100644 --- a/programs/bpf_loader/src/syscalls/mod.rs +++ b/programs/bpf_loader/src/syscalls/mod.rs @@ -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::(self.memory_mapping, self.ptr, self.len, false) }