summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-04-11 22:54:28 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-05-05 18:09:04 +0200
commit84373132b831784d3a833a25cdf8a3d6b465d839 (patch)
tree7d6e2a0030f49615be187ceff27b2cb279dd68a2 /rust
parentrust: init: change the generated name of guard variables (diff)
downloadlinux-84373132b831784d3a833a25cdf8a3d6b465d839.tar.xz
linux-84373132b831784d3a833a25cdf8a3d6b465d839.zip
rust: helpers: Fix grammar in comment
s/directly the bindings/the bindings directly/ Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Reviewed-by: Trevor Gross <tmgross@umich.edu> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20240411205428.537700-1-thorsten.blum@toblux.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/helpers.c b/rust/helpers.c
index 70e59efd92bc..4c8b7b92a4f4 100644
--- a/rust/helpers.c
+++ b/rust/helpers.c
@@ -4,7 +4,7 @@
* cannot be called either. This file explicitly creates functions ("helpers")
* that wrap those so that they can be called from Rust.
*
- * Even though Rust kernel modules should never use directly the bindings, some
+ * Even though Rust kernel modules should never use the bindings directly, some
* of these helpers need to be exported because Rust generics and inlined
* functions may not get their code generated in the crate where they are
* defined. Other helpers, called from non-inline functions, may not be