Re: [PATCH 1/1] UBSAN: fix typo in format string

From: Andrey Ryabinin
Date: Mon Aug 01 2016 - 09:22:12 EST


On 07/30/2016 11:30 AM, Nicolas Iooss wrote:
> handle_object_size_mismatch() used %pk to format a kernel pointer with
> pr_err(). This seemed to be a misspelling for %pK, but using this to
> format a kernel pointer does not make much sence here.
>
> Therefore use %p instead, like in handle_missaligned_access().
>
> Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@xxxxxxx>

Acked-by: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>