Skip to content

Commit 758595c

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

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
@@ -64,6 +64,7 @@ pub mod code {
6464
declare_err!(EPIPE, "Broken pipe.");
6565
declare_err!(EDOM, "Math argument out of domain of func.");
6666
declare_err!(ERANGE, "Math result not representable.");
67+
declare_err!(ENOSYS, "Invalid system call number.");
6768
declare_err!(ENODATA, "No data available.");
6869
declare_err!(EOVERFLOW, "Value too large for defined data type.");
6970
declare_err!(ETIMEDOUT, "Connection timed out.");

0 commit comments

Comments
 (0)