Skip to content
Commit 2df9d673 authored by Valentin Longchamp's avatar Valentin Longchamp Committed by David S. Miller
Browse files

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: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7598b349
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment