forked from luck/tmp_suning_uos_patched
dd9dd24fd7
commit c648c4bb7d02ceb53ee40172fdc4433b37cee9c6 upstream.
__virt_to_phys function is called very early in the boot process (ie
kasan_early_init) so it should not be instrumented by KASAN otherwise it
bugs.
Fix this by declaring phys_addr.c as non-kasan instrumentable.
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Fixes:
|
||
---|---|---|
.. | ||
cacheflush.c | ||
context.c | ||
extable.c | ||
fault.c | ||
hugetlbpage.c | ||
init.c | ||
kasan_init.c | ||
Makefile | ||
pageattr.c | ||
physaddr.c | ||
ptdump.c | ||
tlbflush.c |