From eecc0af5eb47356f5e0b013b16c5e5691872a2b5 Mon Sep 17 00:00:00 2001 From: Andrew Morton <akpm@osdl.org> Date: Wed, 18 Feb 2004 09:52:03 -0500 Subject: [PATCH] [PATCH] tulip printk warning fix Don't assume the size of a dma_addr_t --- drivers/net/tulip/interrupt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/tulip/interrupt.c b/drivers/net/tulip/interrupt.c index a97d9c009409..b010742712ba 100644 --- a/drivers/net/tulip/interrupt.c +++ b/drivers/net/tulip/interrupt.c @@ -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 -- 2.30.9