• Max Filippov's avatar
    xtensa: fix KASAN report for show_stack · 1d3b7a78
    Max Filippov authored
    show_stack dumps raw stack contents which may trigger an unnecessary
    KASAN report. Fix it by copying stack contents to a temporary buffer
    with __memcpy and then printing that buffer instead of passing stack
    pointer directly to the print_hex_dump.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    1d3b7a78
traps.c 15.3 KB