Messages in this thread Patch in this message | | | Date | Mon, 2 Feb 2004 20:48:38 +0100 | From | Kronos <> | Subject | [Compile Regression in 2.4.25-pre8][PATCH 21/42] |
| |
idt77252.c:669: warning: unsigned int format, different type arg (arg 5)
dma_addr_t can be 64 bit long even on x86 (when CONFIG_HIGHMEM64G is defined). Cast to dma64_addr_t in the printk.
diff -Nru -X dontdiff linux-2.4-vanilla/drivers/atm/idt77252.c linux-2.4/drivers/atm/idt77252.c --- linux-2.4-vanilla/drivers/atm/idt77252.c Tue Nov 11 17:51:38 2003 +++ linux-2.4/drivers/atm/idt77252.c Sat Jan 31 17:58:57 2004 @@ -665,8 +665,8 @@ skb_queue_head_init(&scq->transmit); skb_queue_head_init(&scq->pending); - TXPRINTK("idt77252: SCQ: base 0x%p, next 0x%p, last 0x%p, paddr %08x\n", - scq->base, scq->next, scq->last, scq->paddr); + TXPRINTK("idt77252: SCQ: base 0x%p, next 0x%p, last 0x%p, paddr %08Lx\n", + scq->base, scq->next, scq->last, (dma64_addr_t)scq->paddr); return scq; } -- Reply-To: kronos@kronoz.cjb.net Home: http://kronoz.cjb.net Tentare e` il primo passo verso il fallimento. Homer J. Simpson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |