Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Onur Özkan and committed by
Miguel Ojeda
6d65ccac 9e3bbbf5

+3 -1
+3 -1
rust/kernel/error.rs
··· 2 2 3 3 //! Kernel errors. 4 4 //! 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) 6 8 7 9 use crate::{ 8 10 alloc::{layout::LayoutError, AllocError},