public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: Fix some typos
@ 2024-01-14  8:25 Nicky Chorley
  2024-01-15 14:23 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Nicky Chorley @ 2024-01-14  8:25 UTC (permalink / raw)
  To: axboe, linux-block; +Cc: Nicky Chorley

Correct some minor typos in blk-core.c.

Signed-off-by: Nicky Chorley <ndchorley@gmail.com>
---
 block/blk-core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/block/blk-core.c b/block/blk-core.c
index 11342af420d0..8fa002bf1017 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -839,7 +839,7 @@ EXPORT_SYMBOL(submit_bio_noacct);
  *
  * submit_bio() is used to submit I/O requests to block devices.  It is passed a
  * fully set up &struct bio that describes the I/O that needs to be done.  The
- * bio will be send to the device described by the bi_bdev field.
+ * bio will be sent to the device described by the bi_bdev field.
  *
  * The success/failure status of the request, along with notification of
  * completion, is delivered asynchronously through the ->bi_end_io() callback
@@ -934,8 +934,8 @@ int iocb_bio_iopoll(struct kiocb *kiocb, struct io_comp_batch *iob,
 	 * point to a freshly allocated bio at this point.  If that happens
 	 * we have a few cases to consider:
 	 *
-	 *  1) the bio is beeing initialized and bi_bdev is NULL.  We can just
-	 *     simply nothing in this case
+	 *  1) the bio is being initialized and bi_bdev is NULL.  We can just
+	 *     do nothing in this case
 	 *  2) the bio points to a not poll enabled device.  bio_poll will catch
 	 *     this and return 0
 	 *  3) the bio points to a poll capable device, including but not
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: Fix some typos
  2024-01-14  8:25 [PATCH] block: Fix some typos Nicky Chorley
@ 2024-01-15 14:23 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2024-01-15 14:23 UTC (permalink / raw)
  To: Nicky Chorley, linux-block

On 1/14/24 1:25 AM, Nicky Chorley wrote:
> Correct some minor typos in blk-core.c.

Please don't send typo fixes by themselves. IMHO they are fine to do if
you're in that area anyway, but if not, then they just cause unnecessary
backporting pains.

An exception would be if the comment is completely wrong, then
we surely should fix it. But if it's just a typo that doesn't impact the
readers ability to understand it, then let's please just leave it alone.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-15 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14  8:25 [PATCH] block: Fix some typos Nicky Chorley
2024-01-15 14:23 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox