atm: fore200e: use %pK to format kernel addresses instead of %x
authorColin Ian King <colin.king@canonical.com>
Mon, 27 Nov 2017 13:24:15 +0000 (13:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Nov 2017 21:00:55 +0000 (16:00 -0500)
commit22dac9f1fdd576c1d03ba00f4a9db9a864a43a70
treee7c0f27ea76178565030bce755622e66d1ed03e9
parentc95c3fe5c744b05647240aaba4a163be36b7f123
atm: fore200e: use %pK to format kernel addresses instead of %x

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@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c