Re: [PATCH] atm: fore200e: use %pK to format kernel addresses instead of %x

From: David Miller
Date: Tue Nov 28 2017 - 16:01:17 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 27 Nov 2017 13:24:15 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Don't use %x and casting to print out a kernel address, instead use the
> %pK and remove the casting. Cleans up smatch warning:
>
> drivers/atm/fore200e.c:3093 fore200e_proc_read() warn: argument 3 to %08x
> specifier is cast from pointer
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thank you.