Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c90b946c authored by Aneesh Kumar K.V's avatar Aneesh Kumar K.V Committed by Alex Shi
Browse files

mm/kasan: don't use kasan shadow pointer in generic functions



We can't use generic functions like print_hex_dump to access kasan shadow
region.  This require us to setup another kasan shadow region for the
address passed (kasan shadow address).  Some architectures won't be able
to do that.  Hence make a copy of the shadow region row and pass that to
generic functions.

Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: default avatarAndrey Ryabinin <ryabinin.a.a@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit f2377d4eaab2aabe1938b3974b5b94f5ba4c7ead)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent 5cfa956c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment