Skip to content

Commit 5d43e11

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

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
@@ -66,6 +66,7 @@ pub mod code {
6666
declare_err!(EPIPE, "Broken pipe.");
6767
declare_err!(EDOM, "Math argument out of domain of func.");
6868
declare_err!(ERANGE, "Math result not representable.");
69+
declare_err!(ENODATA, "No data available.");
6970
declare_err!(EOVERFLOW, "Value too large for defined data type.");
7071
declare_err!(ETIMEDOUT, "Connection timed out.");
7172
declare_err!(ERESTARTSYS, "Restart the system call.");

0 commit comments

Comments
 (0)