[PATCH V2 3/4] mm/kasan: Don't use kasan shadow pointer in generic functions

2015-09-07 Thread Aneesh Kumar K.V
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

[PATCH V2 3/4] mm/kasan: Don't use kasan shadow pointer in generic functions

2015-09-07 Thread Aneesh Kumar K.V
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