summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/layout.rs
diff options
context:
space:
mode:
authorJimmy Ostler <jtostler1@gmail.com>2024-12-20 09:25:32 +0300
committerMiguel Ojeda <ojeda@kernel.org>2025-01-14 01:45:13 +0300
commit59d5846594e9f82c11af72151de7cef3f325dd4b (patch)
tree5f39f4acbc3d9c37b146eab626291674970ee1b7 /rust/kernel/alloc/layout.rs
parent7871c612cade8943694cc254740a374e3fb42a7c (diff)
downloadlinux-59d5846594e9f82c11af72151de7cef3f325dd4b.tar.xz
rust: init: update `stack_try_pin_init` examples
Change documentation imports to use `kernel::alloc::AllocError`, because `KBox::new()` now returns that, instead of the `core`'s `AllocError`. Reviewed-by: Danilo Krummrich <dakr@kernel.org> Signed-off-by: Jimmy Ostler <jtostler1@gmail.com> Link: https://lore.kernel.org/r/ec8badbe94c5e78f22315325a7f2ae96129d6a65.1734674670.git.jtostler1@gmail.com [ Fixed formatting of imports (still unordered). Slightly reworded commit. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/layout.rs')
0 files changed, 0 insertions, 0 deletions