Skip to content

Commit 808c933

Browse files
onur-ozkanojeda
authored andcommitted
rust: error: add C header links
The error codes come from several headers. Thus, add the other header links. Signed-off-by: Onur Özkan <work@onurozkan.dev> Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com> [ Sorted headers. Added line breaks. Reworded commit message. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent a0132c6 commit 808c933

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rust/kernel/error.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
//! Kernel errors.
44
//!
5-
//! C header: [`include/uapi/asm-generic/errno-base.h`](srctree/include/uapi/asm-generic/errno-base.h)
5+
//! C header: [`include/uapi/asm-generic/errno-base.h`](srctree/include/uapi/asm-generic/errno-base.h)\
6+
//! C header: [`include/uapi/asm-generic/errno.h`](srctree/include/uapi/asm-generic/errno.h)\
7+
//! C header: [`include/linux/errno.h`](srctree/include/linux/errno.h)
68
79
use crate::{
810
alloc::{layout::LayoutError, AllocError},

0 commit comments

Comments
 (0)