Revision c25a053e15778f6b4d6553708673736e27a6c2cf authored by Nick Hu on 13 January 2021, 02:24:10 UTC, committed by Palmer Dabbelt on 14 January 2021, 04:50:11 UTC
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>
1 parent 0aa2ec8
Raw File
.gitattributes
*.c   diff=cpp
*.h   diff=cpp
*.dtsi diff=dts
*.dts  diff=dts
back to top