2020-03-04 16:28:51

by Marco Elver

[permalink] [raw]
Subject: [PATCH 1/3] kcsan: Fix a typo in a comment

From: Qiujun Huang <[email protected]>

s/slots slots/slots/

Signed-off-by: Qiujun Huang <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
[elver: commit message]
Signed-off-by: Marco Elver <[email protected]>
---
kernel/kcsan/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/kcsan/core.c b/kernel/kcsan/core.c
index eb30ecdc8c009..ee8200835b607 100644
--- a/kernel/kcsan/core.c
+++ b/kernel/kcsan/core.c
@@ -45,7 +45,7 @@ static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
};

/*
- * Helper macros to index into adjacent slots slots, starting from address slot
+ * Helper macros to index into adjacent slots, starting from address slot
* itself, followed by the right and left slots.
*
* The purpose is 2-fold:
--
2.25.0.265.gbab2e86ba0-goog


2020-03-04 17:16:52

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH 1/3] kcsan: Fix a typo in a comment

On Wed, Mar 04, 2020 at 05:25:39PM +0100, Marco Elver wrote:
> From: Qiujun Huang <[email protected]>
>
> s/slots slots/slots/
>
> Signed-off-by: Qiujun Huang <[email protected]>
> Reviewed-by: Nick Desaulniers <[email protected]>
> [elver: commit message]
> Signed-off-by: Marco Elver <[email protected]>

Applied for review and testing, thank you!

Thanx, Paul

> ---
> kernel/kcsan/core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/kcsan/core.c b/kernel/kcsan/core.c
> index eb30ecdc8c009..ee8200835b607 100644
> --- a/kernel/kcsan/core.c
> +++ b/kernel/kcsan/core.c
> @@ -45,7 +45,7 @@ static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
> };
>
> /*
> - * Helper macros to index into adjacent slots slots, starting from address slot
> + * Helper macros to index into adjacent slots, starting from address slot
> * itself, followed by the right and left slots.
> *
> * The purpose is 2-fold:
> --
> 2.25.0.265.gbab2e86ba0-goog
>