mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
net: ll_temac: Fix compilation warning because of phys_addr_t
This patch fix the compilation warning
w+../drivers/net/xilinx_ll_temac.c: In function 'll_temac_init':
w+../drivers/net/xilinx_ll_temac.c:235:3: warning: format '%X' expects
argument of type 'unsigned int', but argument 4 has type 'phys_addr_t'
[-Wformat]
introduced by
"net: Declare physical address as phys_addr_t unsigned type"
(sha1: 16ae782722
).
Reported-by: Tom Rini <trini@ti.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
5840537879
commit
527cd43d75
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ static int ll_temac_init(struct eth_device *dev, bd_t *bis)
|
|||
struct ll_temac *ll_temac = dev->priv;
|
||||
int ret;
|
||||
|
||||
printf("%s: Xilinx XPS LocalLink Tri-Mode Ether MAC #%d at 0x%08X.\n",
|
||||
printf("%s: Xilinx XPS LocalLink Tri-Mode Ether MAC #%d at 0x%08lx.\n",
|
||||
dev->name, dev->index, dev->iobase);
|
||||
|
||||
if (!ll_temac_setup_ctrl(dev))
|
||||
|
|
Loading…
Reference in a new issue