net: via: via-rhine: use %p to format void * address instead of %x
commita7e4fbbfdf7935333800bd801f6affc2515506f2
authorColin Ian King <colin.king@canonical.com>
Wed, 29 Nov 2017 14:11:49 +0000 (29 14:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Nov 2017 14:45:24 +0000 (29 09:45 -0500)
tree91ab405510c0bcc79e0ad55e8fd902c347fa3acc
parent15bfe05c8d6386f1a90e9340d15336e85e32aad6
net: via: via-rhine: use %p to format void * address instead of %x

Don't use %x and casting to print out an address, instead use %p
and remove the casting.  Cleans up smatch warnings:

drivers/net/ethernet/via/via-rhine.c:998 rhine_init_one_common()
warn: argument 4 to %lx 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/net/ethernet/via/via-rhine.c