diff options
author | 2024-12-19 22:25:32 -0800 | |
---|---|---|
committer | 2025-01-13 23:45:13 +0100 | |
commit | 59d5846594e9f82c11af72151de7cef3f325dd4b (patch) | |
tree | 5f39f4acbc3d9c37b146eab626291674970ee1b7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rust: error: import `kernel`'s `LayoutError` instead of `core`'s (diff) | |
download | linux-rng-59d5846594e9f82c11af72151de7cef3f325dd4b.tar.xz linux-rng-59d5846594e9f82c11af72151de7cef3f325dd4b.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions