aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2025-03-16 12:02:46 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2025-03-16 12:02:46 +1100
commitff443fb402e95f5095dde3c64f7c3249d7c6f993 (patch)
treefac700d27838ff41a7308dc217551253a1e2b0df /rust/kernel
parentscsi: cxlflash: Remove driver (diff)
parentcxl: Fix cross-reference in documentation and add deprecation warning (diff)
downloadwireguard-linux-ff443fb402e95f5095dde3c64f7c3249d7c6f993.tar.xz
wireguard-linux-ff443fb402e95f5095dde3c64f7c3249d7c6f993.zip
Merge branch 'fixes' into topic/cxl
Merge our fixes branch to bring in the changes to the CXL documentation that the CXL removal patch depends on.
Diffstat (limited to 'rust/kernel')
-rw-r--r--rust/kernel/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/init.rs b/rust/kernel/init.rs
index 3f9236c1c9d5..7fd1ea8265a5 100644
--- a/rust/kernel/init.rs
+++ b/rust/kernel/init.rs
@@ -870,7 +870,7 @@ pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized {
/// use kernel::{types::Opaque, init::pin_init_from_closure};
/// #[repr(C)]
/// struct RawFoo([u8; 16]);
- /// extern {
+ /// extern "C" {
/// fn init_foo(_: *mut RawFoo);
/// }
///