diff options
| author | Tamir Duberstein <tamird@kernel.org> | 2026-03-09 13:01:57 -0400 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-03-15 20:28:45 +0100 |
| commit | 1353b8f32c49235d5c66bad3e197025c26d1684e (patch) | |
| tree | ee26021eb3caa5c7e05510c5b42f4df0f8bfe636 /rust/kernel/alloc/kvec/errors.rs | |
| parent | b3d161f22ba9b2dc16bb82aa2b8515d98c99624f (diff) | |
rust: str: update `c_str!` documentation
Now that all literals are C-Strings, update the documentation to explain
that use of this macro should be limited to non-literal strings.
Link: https://github.com/Rust-for-Linux/linux/issues/1075
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260309-cstr-rename-macro-v2-1-25f7de75944e@kernel.org
[ Apply sentence case to comment. Reword title. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
