diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-14 08:02:47 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-14 15:06:10 -0700 |
commit | 8aa06af4d09b7ca1ca6126b1b8ddec4a9e67fb3a (patch) | |
tree | 1d521ed6f0eb59a6a52ddb9bd9398fcaa7260963 /drivers/net/tulip/tulip_core.c | |
parent | cea8975e84409f01fc4cf92775d2d0028ccc1665 (diff) | |
download | linux-8aa06af4d09b7ca1ca6126b1b8ddec4a9e67fb3a.tar.bz2 |
tulip: formatting of pointers in printk()
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip/tulip_core.c')
-rw-r--r-- | drivers/net/tulip/tulip_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c index 03e96b928c04..14e5312e906e 100644 --- a/drivers/net/tulip/tulip_core.c +++ b/drivers/net/tulip/tulip_core.c @@ -596,10 +596,10 @@ static void tulip_tx_timeout(struct net_device *dev) pr_cont(" %02x", buf[j]); pr_cont(" j=%d\n", j); } - printk(KERN_DEBUG " Rx ring %08x: ", (int)tp->rx_ring); + printk(KERN_DEBUG " Rx ring %p: ", tp->rx_ring); for (i = 0; i < RX_RING_SIZE; i++) pr_cont(" %08x", (unsigned int)tp->rx_ring[i].status); - printk(KERN_DEBUG " Tx ring %08x: ", (int)tp->tx_ring); + printk(KERN_DEBUG " Tx ring %p: ", tp->tx_ring); for (i = 0; i < TX_RING_SIZE; i++) pr_cont(" %08x", (unsigned int)tp->tx_ring[i].status); pr_cont("\n"); |