dm vdo: Fix spelling mistake "postive" -> "positive"
Subsystems (3)
PATCH 1/1 dm vdo: Fix spelling mistake "postive" -> "positive"
There is another spelling mistake in a vdo_log_error message that I somehow overlooked last time. Fix it.
--- drivers/md/dm-vdo/dm-vdo-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/dm-vdo/dm-vdo-target.c +1 -1
@@ -443,7 +443,7 @@ static int __must_check parse_slab_size(const char *slab_str, block_count_t *sla result =kstrtoull (slab_str,10 , &value);if (result) { -vdo_log_error ("optional parameter error: invalid slab size, must be a postive integer" ); +vdo_log_error ("optional parameter error: invalid slab size, must be a positive integer" );return -EINVAL ; }
Signature · 1 line
2.55.0
I had to look at this for quite a while to figure out what was going on.
We made the same spelling error twice in the same function and somehow only noticed the first one previously? Anyway,
Quoted 21 lines · Colin Ian King
There is another spelling mistake in a
vdo_log_errormessage that I somehow overlooked last time. Fix it.Signed-off-by Colin Ian King <[email protected]>--- drivers/md/dm-vdo/dm-vdo-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/md/dm-vdo/dm-vdo-target.c +1
-1@@ -443,7 +443,7 @@ static int __must_check parse_slab_size(const char *slab_str, block_count_t *sla result =kstrtoull (slab_str,10 , &value);if (result) { -vdo_log_error ("optional parameter error: invalid slab size, must be a postive integer" ); +vdo_log_error ("optional parameter error: invalid slab size, must be a positive integer" );return -EINVAL ; }
Quoted 15 lines · Matthew Sakai
I had to look at this for quite a while to figure out what was going on. We made the same spelling error twice in the same function and somehow only noticed the first one previously? Anyway,
Reviewed-by Matthew Sakai <[email protected]>Quoted 8 lines · Colin Ian King
There is another spelling mistake in a
vdo_log_errormessage that I somehow overlooked last time. Fix it.Signed-off-by Colin Ian King <[email protected]>--- drivers/md/dm-vdo/dm-vdo-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
Quoted 14 lines
drivers/md/dm-vdo/dm-vdo-target.c +1
-1@@ -443,7 +443,7 @@ static int __must_check parse_slab_size(const char *slab_str, block_count_t *sla result =kstrtoull (slab_str,10 , &value);if (result) { - vdo_log_error("optional parameter error: invalid slab size, must be a postive integer"); + vdo_log_error("optional parameter error: invalid slab size, must be a positive integer"); return -EINVAL;Quoted 1 line
}
My rule from years back was ... you find one typo, you "grep -rw"
the entire kernel tree.
rday
Quoted 27 lines · Robert P. J. Day
Quoted 25 lines · Matthew Sakai
I had to look at this for quite a while to figure out what was going on. We made the same spelling error twice in the same function and somehow only noticed the first one previously? Anyway,
Reviewed-by Matthew Sakai <[email protected]>Quoted 18 lines · Colin Ian King
There is another spelling mistake in a
vdo_log_errormessage that I somehow overlooked last time. Fix it.Signed-off-by Colin Ian King <[email protected]>--- drivers/md/dm-vdo/dm-vdo-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/md/dm-vdo/dm-vdo-target.c +0
-1@@ -443,7 +443,7 @@ static int __must_check parse_slab_size(const char *slab_str, block_count_t *sla result =kstrtoull (slab_str,10 , &value);if (result) { - vdo_log_error("optional parameter error: invalid slab size,
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
drivers/md/dm-vdo/dm-vdo-target.c +1
-0must be a postive integer"); + vdo_log_error("optional parameter error: invalid slab size, must be a positive integer"); return -EINVAL;}My rule from years back was ... you find one typo, you "grep -rw"
the entire kernel tree.
Yup, normally do, somehow this slipped through :-(
Quoted 2 lines
rday