Skip to contentSkip to conversation

dm vdo: Fix spelling mistake "postive" -> "positive"

PATCH In review Colin Ian King 2 participants 2 messages Mar 28 – Mar 31

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm vdo: Fix spelling mistake "postive" -> "positive"

There is a spelling mistake in a vdo_log_error message. 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
index 0135a6f941fd..1d8375cc3c3e 100644
@@ -412,7 +412,7 @@ static int __must_check parse_memory(const char *memory_str,
 
 		result = kstrtouint(memory_str, 10, &value);
 		if (result) {
-			vdo_log_error("optional parameter error: invalid memory size, must be a postive integer");
+			vdo_log_error("optional parameter error: invalid memory size, must be a positive integer");
 			return -EINVAL;
 		}
 
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Colin Ian King

There is a spelling mistake in a vdo_log_error message. Fix it.

Since this is a change to Bruce's recent series, it might make sense to fold this into one of those patches instead of applying it as a standalone patch.

Matt

Quoted 17 lines
---
  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
index 0135a6f941fd..1d8375cc3c3e 100644
@@ -412,7 +412,7 @@ static int __must_check parse_memory(const char *memory_str,
 
  		result = kstrtouint(memory_str, 10, &value);
  		if (result) {
-			vdo_log_error("optional parameter error: invalid memory size, must be a postive integer");
+			vdo_log_error("optional parameter error: invalid memory size, must be a positive integer");
  			return -EINVAL;
  		}