diff options
| author | 2021-01-13 10:24:10 +0800 | |
|---|---|---|
| committer | 2021-01-13 20:50:11 -0800 | |
| commit | c25a053e15778f6b4d6553708673736e27a6c2cf (patch) | |
| tree | 8da5cfab4dd7dfeeddaff02ddb2eccd87d42704b /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | riscv: Fixup CONFIG_GENERIC_TIME_VSYSCALL (diff) | |
| download | linux-dev-c25a053e15778f6b4d6553708673736e27a6c2cf.tar.xz linux-dev-c25a053e15778f6b4d6553708673736e27a6c2cf.zip | |
riscv: Fix KASAN memory mapping.
Use virtual address instead of physical address when translating
the address to shadow memory by kasan_mem_to_shadow().
Signed-off-by: Nick Hu <nickhu@andestech.com>
Signed-off-by: Nylon Chen <nylon7@andestech.com>
Fixes: b10d6bca8720 ("arch, drivers: replace for_each_membock() with for_each_mem_range()")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
