The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v1] rust: update `error.rs` documentation
@ 2025-07-29 14:36 Onur Özkan
  2025-07-29 19:35 ` Miguel Ojeda
  0 siblings, 1 reply; 4+ messages in thread
From: Onur Özkan @ 2025-07-29 14:36 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

Replaces the outdated (e.g., `ENOIOCTLCMD` is in the
`srctree/include/linux/errno.h` file) and overly specific
description referring to a single C header with a more generic
one.

Signed-off-by: Onur Özkan <work@onurozkan.dev>
---
 rust/kernel/error.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/kernel/error.rs b/rust/kernel/error.rs
index 3dee3139fcd4..a98dcf88d63e 100644
--- a/rust/kernel/error.rs
+++ b/rust/kernel/error.rs
@@ -2,7 +2,7 @@

 //! Kernel errors.
 //!
-//! C header: [`include/uapi/asm-generic/errno-base.h`](srctree/include/uapi/asm-generic/errno-base.h)
+//! Provides Rust representations of kernel error codes derived from `bindgen` bindings.

 use crate::{
     alloc::{layout::LayoutError, AllocError},
--
2.50.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-30 11:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29 14:36 [PATCH v1] rust: update `error.rs` documentation Onur Özkan
2025-07-29 19:35 ` Miguel Ojeda
2025-07-30 10:00   ` Onur Özkan
2025-07-30 11:01     ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox