rust: update error.rs documentation
Onur Özkan
reviewerv3 cover rust: update error.rs documentation
Changelog:
v1: Removed header link to keep the doc more generic.
v2: Reverted v1 and added missing header links.
v3: Replaced arch/mips/include/uapi/asm/errno.h with
nclude/uapi/asm-generic/errno.h header link.
Onur Özkan (1):
rust: update error.rs documentation
rust/kernel/error.rs | 2 ++ 1 file changed, 2 insertions(+)
--
2.50.0
Onur Özkan
reviewerPATCH v3 1/1 rust: update error.rs documentation
Adds missing header links.
--- rust/kernel/error.rs | 2 ++ 1 file changed, 2 insertions(+)
rust/kernel/error.rs +2 -0
@@ -2,7 +2,9 @@//! Kernel errors. //! +//! C header: [`include/linux/errno.h`](srctree/include/linux/errno.h) //! C header: [`include/uapi/asm-generic/errno-base.h`](srctree/include/uapi/asm-generic/errno-base.h) +//! C header: [`include/uapi/asm-generic/errno.h`](srctree/include/uapi/asm-generic/errno.h) use crate ::{ alloc::{layout::LayoutError ,AllocError },
--
2.50.0
Quoted 26 lines · Onur Özkan
Adds missing header links.
Signed-off-by Onur Özkan <[email protected]>---
rust/kernel/error.rs| 2 ++1 file changed, 2 insertions(+)rust/kernel/error.rs +2
-1@@ -2,7 +2,9 @@//! Kernel errors. //! +//! C header: [`include/linux/errno.h`](srctree/include/linux/errno.h) //! C header: [`include/uapi/asm-generic/errno-base.h`](srctree/include/uapi/asm-generic/errno-base.h) +//! C header: [`include/uapi/asm-generic/errno.h`](srctree/include/uapi/asm-generic/errno.h) use crate ::{ alloc::{layout::LayoutError ,AllocError }, --
Quoted 3 lines
2.50.0
Miguel Ojeda
AppliedQuoted 6 lines · Onur Özkan
Changelog:
v1: Removed header link to keep the doc more generic.
v2: Reverted v1 and added missing header links.
v3: Replacedarch/mips/include/uapi/asm/errno.hwith
nclude/uapi/asm-generic/errno.hheader link.
Applied to rust-next -- thanks everyone!
[ Sorted headers. Added line breaks. Reworded commit message. - Miguel ]
Cheers,
Miguel