Skip to contentSkip to conversation

block: Fix typo in comment

PATCH In review Md Shofiqul Islam 2 participants 2 messages May 7 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Fix typo in comment

Fix a typo in a comment in bio_split_alignment(): "occured" should be "occurred".

---
 block/blk-merge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-merge.c +1 -1
index fcf09325b2..395b23ed95 100644
@@ -403,7 +403,7 @@ int bio_split_io_at(struct bio *bio, const struct queue_limits *lim,
 	 * there may either be too many discontiguous vectors for the max
 	 * segments limit, or contain virtual boundary gaps without having a
 	 * valid block sized split. A zero byte result means one of those
-	 * conditions occured.
+	 * conditions occurred.
 	 */
 	bytes = ALIGN_DOWN(bytes, bio_split_alignment(bio, lim));
 	if (!bytes)
Signature · 1 line
2.54.0.windows.1
maintainer
#1 lore raw
Quoted 13 lines · Md Shofiqul Islam

Fix a typo in a comment in bio_split_alignment(): "occured" should be "occurred".

---
 block/blk-merge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-merge.c +0 -0
index fcf09325b2..395b23ed95 100644

block/blk-merge.c int bio_split_io_at(struct bio *bio, const struct queue_limits *lim, · line 406

Quoted 5 lines
block/blk-merge.c +1 -1
@@ -403,7 +403,7 @@ int bio_split_io_at(struct bio *bio, const struct queue_limits *lim,
 	 * there may either be too many discontiguous vectors for the max
 	 * segments limit, or contain virtual boundary gaps without having a
 	 * valid block sized split. A zero byte result means one of those
-	 * conditions occured.
+	 * conditions occurred.

Generally happy to take typo fixes if they come with real fixes too, otherwise it's just unnecessary churn that potentially causes stable backport issues.

Signature · 1 line
Jens Axboe