Home
last modified time | relevance | path

Searched hist:a7e4fbbfdf7935333800bd801f6affc2515506f2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.cdiff a7e4fbbfdf7935333800bd801f6affc2515506f2 Wed Nov 29 08:11:49 CST 2017 Colin Ian King <colin.king@canonical.com> 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>