Skip to contentSkip to conversation

rust: improve grammar in commentary

PATCH Applied Tamir Duberstein 5 participants 5 messages Oct 9, 2024 – Oct 21, 2024 Rust

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: improve grammar in commentary

Commit e26fa546042a ("rust: kbuild: auto generate helper exports") added an errant "the" where one was not needed; remove it.

---
 rust/exports.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
rust/exports.c +3 -3
index e5695f3b45b7..fd278e272751 100644
@@ -3,9 +3,9 @@
  * A hack to export Rust symbols for loadable modules without having to redo
  * the entire `include/linux/export.h` logic in Rust.
  *
- * This requires the Rust's new/future `v0` mangling scheme because the default
- * one ("legacy") uses invalid characters for C identifiers (thus we cannot use
- * the `EXPORT_SYMBOL_*` macros).
+ * This requires Rust's new/future `v0` mangling scheme because the default one
+ * ("legacy") uses invalid characters for C identifiers (thus we cannot use the
+ * `EXPORT_SYMBOL_*` macros).
  *
  * All symbols are exported as GPL-only to guarantee no GPL-only feature is
  * accidentally exposed.
Signature · 1 line
2.47.0
Reviewed-by on v1 1/1
#1 lore raw

Am 09.10.24 um 18:23 schrieb Tamir Duberstein:

Quoted 4 lines

Commit e26fa546042a ("rust: kbuild: auto generate helper exports") added an errant "the" where one was not needed; remove it.

Thanks

Dirk

Quoted 21 lines
---
  rust/exports.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
rust/exports.c +3 -3
index e5695f3b45b7..fd278e272751 100644
@@ -3,9 +3,9 @@
   * A hack to export Rust symbols for loadable modules without having to redo
   * the entire `include/linux/export.h` logic in Rust.
   *
- * This requires the Rust's new/future `v0` mangling scheme because the default
- * one ("legacy") uses invalid characters for C identifiers (thus we cannot use
- * the `EXPORT_SYMBOL_*` macros).
+ * This requires Rust's new/future `v0` mangling scheme because the default one
+ * ("legacy") uses invalid characters for C identifiers (thus we cannot use the
+ * `EXPORT_SYMBOL_*` macros).
   *
   * All symbols are exported as GPL-only to guarantee no GPL-only feature is
   * accidentally exposed.