Skip to content

Commit 54e82a8

Browse files
committed
rust: error: Add ECANCELED from uapi/asm-generic/errno.h
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 30c08d0 commit 54e82a8

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
@@ -67,6 +67,7 @@ pub mod code {
6767
declare_err!(ENODATA, "No data available.");
6868
declare_err!(EOVERFLOW, "Value too large for defined data type.");
6969
declare_err!(ETIMEDOUT, "Connection timed out.");
70+
declare_err!(ECANCELED, "Operation Canceled.");
7071
declare_err!(ERESTARTSYS, "Restart the system call.");
7172
declare_err!(ERESTARTNOINTR, "System call was interrupted by a signal and will be restarted.");
7273
declare_err!(ERESTARTNOHAND, "Restart if no handler.");

0 commit comments

Comments
 (0)