2015-04-22 23:47:35

by 王龙

[permalink] [raw]
Subject: [PATCH v2] 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..063095a 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 translates an address to its corresponding shadow
address:

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




2015-05-07 15:56:37

by Jonathan Corbet

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

On Thu, 23 Apr 2015 07:47:02 +0800
Wang Long <[email protected]> wrote:

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

Actually, it fixes two of them now :) Applied to the docs tree, thanks.

jon