aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2023-10-23 11:32:25 +0200
committerIngo Molnar <mingo@kernel.org>2023-10-23 11:32:25 +0200
commit4e5b65a22ba0cabe58f895cd797cb10a763d6994 (patch)
tree067033eb0d1d284b6ca89c2bfa4034906ff59ad9 /rust/kernel
parentsched/fair: Remove unused 'curr' argument from pick_next_entity() (diff)
parentLinux 6.6-rc7 (diff)
downloadwireguard-linux-4e5b65a22ba0cabe58f895cd797cb10a763d6994.tar.xz
wireguard-linux-4e5b65a22ba0cabe58f895cd797cb10a763d6994.zip
Merge tag 'v6.6-rc7' into sched/core, to pick up fixes
Pick up recent sched/urgent fixes merged upstream. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'rust/kernel')
-rw-r--r--rust/kernel/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/kernel/error.rs b/rust/kernel/error.rs
index 05fcab6abfe6..032b64543953 100644
--- a/rust/kernel/error.rs
+++ b/rust/kernel/error.rs
@@ -37,7 +37,7 @@ pub mod code {
declare_err!(E2BIG, "Argument list too long.");
declare_err!(ENOEXEC, "Exec format error.");
declare_err!(EBADF, "Bad file number.");
- declare_err!(ECHILD, "Exec format error.");
+ declare_err!(ECHILD, "No child processes.");
declare_err!(EAGAIN, "Try again.");
declare_err!(ENOMEM, "Out of memory.");
declare_err!(EACCES, "Permission denied.");
@@ -133,7 +133,7 @@ impl Error {
/// Returns the error encoded as a pointer.
#[allow(dead_code)]
pub(crate) fn to_ptr<T>(self) -> *mut T {
- // SAFETY: self.0 is a valid error due to its invariant.
+ // SAFETY: `self.0` is a valid error due to its invariant.
unsafe { bindings::ERR_PTR(self.0.into()) as *mut _ }
}