Skip to contentSkip to conversation

rust: block: Remove unnecessary comma in introduction

PATCH In review Taotao Chen 2 participants 2 messages Mar 21, 2025 – Mar 23, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rust: block: Remove unnecessary comma in introduction

The comma before "methods" was not needed and has been removed for better readability and correctness.

---
v1 -> v2 : Corrected message: removed comma was before "methods" not after.

 rust/kernel/block/mq.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/block/mq.rs +1 -1
index fb0f393c1cea..ee8f34f40899 100644
@@ -23,7 +23,7 @@
 //! IO requests are passed to the driver as [`kernel::types::ARef<Request>`]
 //! instances. The `Request` type is a wrapper around the C `struct request`.
 //! The driver must mark end of processing by calling one of the
-//! `Request::end`, methods. Failure to do so can lead to deadlock or timeout
+//! `Request::end` methods. Failure to do so can lead to deadlock or timeout
 //! errors. Please note that the C function `blk_mq_start_request` is implicitly
 //! called when the request is queued with the driver.
 //!
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Taotao Chen

The comma before "methods" was not needed and has been removed for better readability and correctness.

This should be Cc'd to the block list too (please see the MAINTAINERS entry) -- done here :)

Thanks!

Cheers,
Miguel