mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
9eb059985a
commit
f66fa08bf9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue