2015-04-22 14:24:07

by 王龙

[permalink] [raw]
Subject: [PATCH] Documentation: kasan: fix a typo

This patch just fix a typo (s/witch/which)

Signed-off-by: Wang Long <[email protected]>
---
Documentation/kasan.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt
index 092fc10..38feb38 100644
--- a/Documentation/kasan.txt
+++ b/Documentation/kasan.txt
@@ -148,7 +148,7 @@ AddressSanitizer dedicates 1/8 of kernel memory to its shadow memory
(e.g. 16TB to cover 128TB on x86_64) and uses direct mapping with a scale and
offset to translate a memory address to its corresponding shadow address.

-Here is the function witch translate an address to its corresponding shadow
+Here is the function which translate an address to its corresponding shadow
address:

static inline void *kasan_mem_to_shadow(const void *addr)
--
1.9.1




2015-04-22 15:28:18

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] Documentation: kasan: fix a typo

On 04/22/15 07:23, Wang Long wrote:
> This patch just fix a typo (s/witch/which)
>
> Signed-off-by: Wang Long <[email protected]>
> ---
> Documentation/kasan.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt
> index 092fc10..38feb38 100644
> --- a/Documentation/kasan.txt
> +++ b/Documentation/kasan.txt
> @@ -148,7 +148,7 @@ AddressSanitizer dedicates 1/8 of kernel memory to its shadow memory
> (e.g. 16TB to cover 128TB on x86_64) and uses direct mapping with a scale and
> offset to translate a memory address to its corresponding shadow address.
>
> -Here is the function witch translate an address to its corresponding shadow
> +Here is the function which translate an address to its corresponding shadow

translates

> address:
>
> static inline void *kasan_mem_to_shadow(const void *addr)
>


--
~Randy