Skip to content

Commit 9d7b5c7

Browse files
committed
rust: error: Add ECANCELED from uapi/asm-generic/errno.h
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 5d43e11 commit 9d7b5c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/kernel/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ pub mod code {
6969
declare_err!(ENODATA, "No data available.");
7070
declare_err!(EOVERFLOW, "Value too large for defined data type.");
7171
declare_err!(ETIMEDOUT, "Connection timed out.");
72+
declare_err!(ECANCELED, "Operation Canceled.");
7273
declare_err!(ERESTARTSYS, "Restart the system call.");
7374
declare_err!(ERESTARTNOINTR, "System call was interrupted by a signal and will be restarted.");
7475
declare_err!(ERESTARTNOHAND, "Restart if no handler.");

0 commit comments

Comments
 (0)