diff options
author | 2024-11-08 12:13:48 -0500 | |
---|---|---|
committer | 2024-11-08 12:13:48 -0500 | |
commit | e3e0f9b7ae280f2f479f74ef7799f4108d0e7f77 (patch) | |
tree | 85a1717293b6536f51176b6daa6e87e5f8338a88 /rust/kernel/firmware.rs | |
parent | Merge branch 'kvm-no-struct-page' into HEAD (diff) | |
parent | riscv: kvm: Fix out-of-bounds array access (diff) | |
download | wireguard-linux-e3e0f9b7ae280f2f479f74ef7799f4108d0e7f77.tar.xz wireguard-linux-e3e0f9b7ae280f2f479f74ef7799f4108d0e7f77.zip |
Merge tag 'kvm-riscv-6.13-1' of https://github.com/kvm-riscv/linux into HEAD
KVM/riscv changes for 6.13
- Accelerate KVM RISC-V when running as a guest
- Perf support to collect KVM guest statistics from host side
Diffstat (limited to 'rust/kernel/firmware.rs')
-rw-r--r-- | rust/kernel/firmware.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/firmware.rs b/rust/kernel/firmware.rs index dee5b4b18aec..13a374a5cdb7 100644 --- a/rust/kernel/firmware.rs +++ b/rust/kernel/firmware.rs @@ -44,7 +44,7 @@ impl FwFunc { /// /// # fn no_run() -> Result<(), Error> { /// # // SAFETY: *NOT* safe, just for the example to get an `ARef<Device>` instance -/// # let dev = unsafe { Device::from_raw(core::ptr::null_mut()) }; +/// # let dev = unsafe { Device::get_device(core::ptr::null_mut()) }; /// /// let fw = Firmware::request(c_str!("path/to/firmware.bin"), &dev)?; /// let blob = fw.data(); |