diff options
author | David S. Miller <davem@davemloft.net> | 2010-08-31 23:56:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-31 23:56:48 -0400 |
commit | 74af4c7df35e6811eb3c50e398abafa5b3cabb75 (patch) | |
tree | 9ce354d698d8a253af9c1a460d278ab0cf112e3e /drivers/net/stmmac | |
parent | 1639ab6f7831f056286c64d98e8e5eb04e3bacac (diff) |
stmmac: Fix another build warning.
drivers/net/stmmac/dwmac100_core.c: In function 'dwmac100_dump_mac_regs':
drivers/net/stmmac/dwmac100_core.c:47: warning: cast from pointer to integer of different size
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac')
-rw-r--r-- | drivers/net/stmmac/dwmac100_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/stmmac/dwmac100_core.c b/drivers/net/stmmac/dwmac100_core.c index 135a8082816e..db06c04ce480 100644 --- a/drivers/net/stmmac/dwmac100_core.c +++ b/drivers/net/stmmac/dwmac100_core.c | |||
@@ -45,9 +45,9 @@ static void dwmac100_core_init(void __iomem *ioaddr) | |||
45 | static void dwmac100_dump_mac_regs(void __iomem *ioaddr) | 45 | static void dwmac100_dump_mac_regs(void __iomem *ioaddr) |
46 | { | 46 | { |
47 | pr_info("\t----------------------------------------------\n" | 47 | pr_info("\t----------------------------------------------\n" |
48 | "\t DWMAC 100 CSR (base addr = 0x%8x)\n" | 48 | "\t DWMAC 100 CSR (base addr = 0x%p)\n" |
49 | "\t----------------------------------------------\n", | 49 | "\t----------------------------------------------\n", |
50 | (unsigned int) ioaddr); | 50 | ioaddr); |
51 | pr_info("\tcontrol reg (offset 0x%x): 0x%08x\n", MAC_CONTROL, | 51 | pr_info("\tcontrol reg (offset 0x%x): 0x%08x\n", MAC_CONTROL, |
52 | readl(ioaddr + MAC_CONTROL)); | 52 | readl(ioaddr + MAC_CONTROL)); |
53 | pr_info("\taddr HI (offset 0x%x): 0x%08x\n ", MAC_ADDR_HIGH, | 53 | pr_info("\taddr HI (offset 0x%x): 0x%08x\n ", MAC_ADDR_HIGH, |