summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorMaarten Lankhorst <dev@lankhorst.se>2026-06-29 17:58:00 +0200
committerMaarten Lankhorst <dev@lankhorst.se>2026-06-29 17:58:00 +0200
commit00599d4841790d05401820a96cf7edb193888b00 (patch)
tree892401ad6f7973cda18d1ebd75910702611898b4 /rust/kernel/alloc/kvec/errors.rs
parent77a9298741f8f9e8b963c977f5582ab21c6d3427 (diff)
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
Merge drm/drm-fixes into drm-misc-fixes
Pull in tag v7.2-rc1 so that drm-misc-fixes becomes useful again, and drm-misc-next-fixes can be closed. Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
-rw-r--r--rust/kernel/alloc/kvec/errors.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/rust/kernel/alloc/kvec/errors.rs b/rust/kernel/alloc/kvec/errors.rs
index 985c5f2c3962..aaca6446516a 100644
--- a/rust/kernel/alloc/kvec/errors.rs
+++ b/rust/kernel/alloc/kvec/errors.rs
@@ -2,8 +2,10 @@
//! Errors for the [`Vec`] type.
-use kernel::fmt;
-use kernel::prelude::*;
+use crate::{
+ fmt,
+ prelude::*, //
+};
/// Error type for [`Vec::push_within_capacity`].
pub struct PushError<T>(pub T);