Commit 772d610c authored by Andrew Morton's avatar Andrew Morton Committed by Vojtech Pavlik

[PATCH] tulip printk cleanup

From: Joe Perches <joe@perches.com>

Use %08llx for a dma_addr_t, not the recently-added %llx.
parent bde7da44
...@@ -211,7 +211,7 @@ int tulip_poll(struct net_device *dev, int *budget) ...@@ -211,7 +211,7 @@ int tulip_poll(struct net_device *dev, int *budget)
if (tp->rx_buffers[entry].mapping != if (tp->rx_buffers[entry].mapping !=
le32_to_cpu(tp->rx_ring[entry].buffer1)) { le32_to_cpu(tp->rx_ring[entry].buffer1)) {
printk(KERN_ERR "%s: Internal fault: The skbuff addresses " printk(KERN_ERR "%s: Internal fault: The skbuff addresses "
"do not match in tulip_rx: %08x vs. %llx %p / %p.\n", "do not match in tulip_rx: %08x vs. %08llx %p / %p.\n",
dev->name, dev->name,
le32_to_cpu(tp->rx_ring[entry].buffer1), le32_to_cpu(tp->rx_ring[entry].buffer1),
(unsigned long long)tp->rx_buffers[entry].mapping, (unsigned long long)tp->rx_buffers[entry].mapping,
......
Markdown is supported
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