Skip to contentSkip to conversation

lkdtm: fix spelling mistake: "incremeted" -> "incremented"

PATCH In review Colin King 2 participants 2 messages Aug 18, 2017 Char and misc drivers

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 lkdtm: fix spelling mistake: "incremeted" -> "incremented"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in pr_info message

---
 drivers/misc/lkdtm_refcount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/lkdtm_refcount.c +1 -1
index 29af0152a337..2b99d448e7fd 100644
@@ -202,7 +202,7 @@ static void check_from_zero(refcount_t *ref)
 		pr_warn("Zero detected: unsafely reset to max\n");
 		break;
 	default:
-		pr_info("Fail: zero not detected, incremeted to %d\n",
+		pr_info("Fail: zero not detected, incremented to %d\n",
 			refcount_read(ref));
 	}
 }
Signature · 1 line
2.11.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Colin King

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in pr_info message

Whoops, thanks!

Greg, can you please apply this for -next?

-Kees

Quoted 20 lines
---
 drivers/misc/lkdtm_refcount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/lkdtm_refcount.c +1 -2
index 29af0152a337..2b99d448e7fd 100644
@@ -202,7 +202,7 @@ static void check_from_zero(refcount_t *ref)
                pr_warn("Zero detected: unsafely reset to max\n");
                break;
        default:
-               pr_info("Fail: zero not detected, incremeted to %d\n",
+               pr_info("Fail: zero not detected, incremented to %d\n",
                        refcount_read(ref));
        }
 }
--

2.11.0

Signature · 2 lines
Kees Cook
Pixel Security