diff mbox series

block: Fix some typos

Message ID 20240114082532.10751-1-ndchorley@gmail.com (mailing list archive)
State New, archived
Headers show
Series block: Fix some typos | expand

Commit Message

Nicky Chorley Jan. 14, 2024, 8:25 a.m. UTC
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(-)

Comments

Jens Axboe Jan. 15, 2024, 2:23 p.m. UTC | #1
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.
diff mbox series

Patch

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