diff options
author | Wang Long <wanglong@laoqinren.net> | 2015-04-22 19:47:02 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-05-07 19:07:41 -0400 |
commit | f66fa08bf9e59b1231aba9e3c2ec28dcf08f0389 (patch) | |
tree | 83782efc538b0cd52229cf0153cbe901b1635d5d /Documentation/kasan.txt | |
parent | 9eb059985a7941d0302c9996de13d258d0355f92 (diff) |
Documentation: kasan: fix a typo
Fix a couple of typos in the kasan document.
Signed-off-by: Wang Long <wanglong@laoqinren.net>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/kasan.txt')
-rw-r--r-- | Documentation/kasan.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt index 092fc10961fe..063095afa964 100644 --- a/Documentation/kasan.txt +++ b/Documentation/kasan.txt | |||
@@ -148,7 +148,7 @@ AddressSanitizer dedicates 1/8 of kernel memory to its shadow memory | |||
148 | (e.g. 16TB to cover 128TB on x86_64) and uses direct mapping with a scale and | 148 | (e.g. 16TB to cover 128TB on x86_64) and uses direct mapping with a scale and |
149 | offset to translate a memory address to its corresponding shadow address. | 149 | offset to translate a memory address to its corresponding shadow address. |
150 | 150 | ||
151 | Here is the function witch translate an address to its corresponding shadow | 151 | Here is the function which translates an address to its corresponding shadow |
152 | address: | 152 | address: |
153 | 153 | ||
154 | static inline void *kasan_mem_to_shadow(const void *addr) | 154 | static inline void *kasan_mem_to_shadow(const void *addr) |