[PATCH v2] rust: block: Remove unnecessary comma in introduction

Taotao Chen posted 1 patch 9 months ago
rust/kernel/block/mq.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] rust: block: Remove unnecessary comma in introduction
Posted by Taotao Chen 9 months ago
The comma before "methods" was not needed and has been removed
for better readability and correctness.

Signed-off-by: Taotao Chen <chentaotao@didiglobal.com>
---
 v1 -> v2 : Corrected message: removed comma was before "methods" not after.
 rust/kernel/block/mq.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/kernel/block/mq.rs b/rust/kernel/block/mq.rs
index fb0f393c1cea..ee8f34f40899 100644
--- a/rust/kernel/block/mq.rs
+++ b/rust/kernel/block/mq.rs
@@ -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.
 //!
-- 
2.34.1
Re: [PATCH v2] rust: block: Remove unnecessary comma in introduction
Posted by Miguel Ojeda 8 months, 4 weeks ago
On Fri, Mar 21, 2025 at 6:22 AM Taotao Chen <chentaotao@didiglobal.com> wrote:
>
> The comma before "methods" was not needed and has been removed
> for better readability and correctness.
>
> Signed-off-by: Taotao Chen <chentaotao@didiglobal.com>

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

Thanks!

Cheers,
Miguel