Skip to content

Commit 054b3b0

Browse files
committed
rust: error: Add ETIMEDOUT from uapi/asm-generic/errno.h
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent ab4eafc commit 054b3b0

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
@@ -65,6 +65,7 @@ pub mod code {
6565
declare_err!(EDOM, "Math argument out of domain of func.");
6666
declare_err!(ERANGE, "Math result not representable.");
6767
declare_err!(EOVERFLOW, "Value too large for defined data type.");
68+
declare_err!(ETIMEDOUT, "Connection timed out.");
6869
declare_err!(ERESTARTSYS, "Restart the system call.");
6970
declare_err!(ERESTARTNOINTR, "System call was interrupted by a signal and will be restarted.");
7071
declare_err!(ERESTARTNOHAND, "Restart if no handler.");

0 commit comments

Comments
 (0)