[warnings] [7/8] fix printk() type warning in drivers/net/tulip/interrupt.c

wli
2002-12-05T10:47:21Z

Cast to u64 and always print as %Lx to prevent type clashes.
Jeff, this is yours to ack.

===== drivers/net/tulip/interrupt.c 1.14 vs edited =====
--- 1.14/drivers/net/tulip/interrupt.c Mon Oct 28 21:14:42 2002
+++ edited/drivers/net/tulip/interrupt.c Thu Dec 5 01:22:15 2002
@@ -194,10 +194,10 @@
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. %08Lx %p / %p.\n",
dev->name,
le32_to_cpu(tp->rx_ring[entry].buffer1),
- tp->rx_buffers[entry].mapping,
+ (u64)tp->rx_buffers[entry].mapping,
skb->head, temp);
}
#endif