block: Fix some typos
PATCH 1/1 block: Fix some typos
Correct some minor typos in blk-core.c.
Signed-off-by Nicky Chorley <[email protected]>
--- block/blk-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
block/blk-core.c +3 -3
@@ -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
Signature · 1 line
2.35.3
Jens Axboe
maintainerQuoted 1 line · Nicky Chorley
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.
Signature · 1 line
Jens Axboe