* [PATCH v3 0/1] rust: update error.rs documentation
@ 2025-07-31 20:41 Onur Özkan
2025-07-31 20:41 ` [PATCH v3 1/1] " Onur Özkan
0 siblings, 1 reply; 3+ messages in thread
From: Onur Özkan @ 2025-07-31 20:41 UTC (permalink / raw)
To: rust-for-linux
Cc: ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh, lossin,
a.hindborg, aliceryhl, tmgross, dakr, me, felipe_life,
abdiel.janulgue, dirk.behme, daniel, linux-kernel,
Onur Özkan
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v3 1/1] rust: update error.rs documentation
2025-07-31 20:41 [PATCH v3 0/1] rust: update error.rs documentation Onur Özkan
@ 2025-07-31 20:41 ` Onur Özkan
2025-08-01 18:20 ` Daniel Almeida
0 siblings, 1 reply; 3+ messages in thread
From: Onur Özkan @ 2025-07-31 20:41 UTC (permalink / raw)
To: rust-for-linux
Cc: ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh, lossin,
a.hindborg, aliceryhl, tmgross, dakr, me, felipe_life,
abdiel.janulgue, dirk.behme, daniel, linux-kernel,
Onur Özkan
Adds missing header links.
Signed-off-by: Onur Özkan <work@onurozkan.dev>
---
rust/kernel/error.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rust/kernel/error.rs b/rust/kernel/error.rs
index 3dee3139fcd4..7c5dac20c480 100644
--- a/rust/kernel/error.rs
+++ b/rust/kernel/error.rs
@@ -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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3 1/1] rust: update error.rs documentation
2025-07-31 20:41 ` [PATCH v3 1/1] " Onur Özkan
@ 2025-08-01 18:20 ` Daniel Almeida
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Almeida @ 2025-08-01 18:20 UTC (permalink / raw)
To: Onur Özkan
Cc: rust-for-linux, ojeda, alex.gaynor, boqun.feng, gary, bjorn3_gh,
lossin, a.hindborg, aliceryhl, tmgross, dakr, me, felipe_life,
abdiel.janulgue, dirk.behme, daniel, linux-kernel
> On 31 Jul 2025, at 17:41, Onur Özkan <work@onurozkan.dev> wrote:
>
> Adds missing header links.
>
> Signed-off-by: Onur Özkan <work@onurozkan.dev>
> ---
> rust/kernel/error.rs | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/rust/kernel/error.rs b/rust/kernel/error.rs
> index 3dee3139fcd4..7c5dac20c480 100644
> --- a/rust/kernel/error.rs
> +++ b/rust/kernel/error.rs
> @@ -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
>
>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-01 18:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 20:41 [PATCH v3 0/1] rust: update error.rs documentation Onur Özkan
2025-07-31 20:41 ` [PATCH v3 1/1] " Onur Özkan
2025-08-01 18:20 ` Daniel Almeida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).