[PATCH v2] net/ethernet/freescale: fix warning for ucc_geth

David Miller davem at davemloft.net
Tue Sep 19 07:56:47 AEST 2017


From: Valentin Longchamp <valentin.longchamp at keymile.com>
Date: Fri, 15 Sep 2017 07:58:47 +0200

> 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 at keymile.com>

Applied to net-next, thanks.


More information about the Linuxppc-dev mailing list