Commit eecc0af5 authored by Andrew Morton's avatar Andrew Morton Committed by Stephen Hemminger

[PATCH] tulip printk warning fix

Don't assume the size of a dma_addr_t
parent f16f29b7
......@@ -211,10 +211,10 @@ int tulip_poll(struct net_device *dev, int *budget)
if (tp->rx_buffers[entry].mapping !=
le32_to_cpu(tp->rx_ring[entry].buffer1)) {
printk(KERN_ERR "%s: Internal fault: The skbuff addresses "
"do not match in tulip_rx: %08x vs. %08x %p / %p.\n",
"do not match in tulip_rx: %08x vs. %llx %p / %p.\n",
dev->name,
le32_to_cpu(tp->rx_ring[entry].buffer1),
tp->rx_buffers[entry].mapping,
(unsigned long long)tp->rx_buffers[entry].mapping,
skb->head, temp);
}
#endif
......
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