[PATCH] block: Fix typo in comment

Md Shofiqul Islam posted 1 patch 1 month, 1 week ago
block/blk-merge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] block: Fix typo in comment
Posted by Md Shofiqul Islam 1 month, 1 week ago
Fix a typo in a comment in bio_split_alignment(): "occured" should
be "occurred".

Signed-off-by: Md Shofiqul Islam <shofiqtest@gmail.com>
---
 block/blk-merge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/blk-merge.c b/block/blk-merge.c
index fcf09325b2..395b23ed95 100644
--- a/block/blk-merge.c
+++ b/block/blk-merge.c
@@ -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)
-- 
2.54.0.windows.1
Re: [PATCH] block: Fix typo in comment
Posted by Jens Axboe 1 month, 1 week ago
On 5/7/26 4:58 AM, Md Shofiqul Islam wrote:
> Fix a typo in a comment in bio_split_alignment(): "occured" should
> be "occurred".
> 
> Signed-off-by: Md Shofiqul Islam <shofiqtest@gmail.com>
> ---
>  block/blk-merge.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/block/blk-merge.c b/block/blk-merge.c
> index fcf09325b2..395b23ed95 100644
> --- a/block/blk-merge.c
> +++ b/block/blk-merge.c
> @@ -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.

-- 
Jens Axboe