net/ethernet/freescale: fix warning for ucc_geth
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 15 Sep 2017 05:58:47 +0000 (07:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2017 21:56:34 +0000 (14:56 -0700)
commit2df9d6730215db85f7306f0bda03b7391e392837
tree8e6055e366b0c5ff67f054e44f7548083b8baca9
parent7598b3498bfdad49d2b19bf0cba829922a9689a9
net/ethernet/freescale: fix warning for ucc_geth

uf_info.regs is resource_size_t i.e. phys_addr_t that can be either u32
or u64 according to CONFIG_PHYS_ADDR_T_64BIT.

The printk format is thus adaptet to u64 and the regs value cast to u64
to take both u32 and u64 into account.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.c