2020-02-27 16:52:58

by Qiujun Huang

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

Might clean it up.

Signed-off-by: Qiujun Huang <[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 065615d..4b8b846 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:
--
1.8.3.1


2020-02-27 19:10:05

by Nick Desaulniers

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

On Thu, Feb 27, 2020 at 8:52 AM Qiujun Huang <[email protected]> wrote:
>

Thanks for the patch.
s/slots slots/slots/
Reviewed-by: Nick Desaulniers <[email protected]>

>
> Signed-off-by: Qiujun Huang <[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 065615d..4b8b846 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:
> --

--
Thanks,
~Nick Desaulniers