[Compile Regression in 2.4.25-pre8][PATCH 21/42]

From: Kronos
Date: Mon Feb 02 2004 - 15:01:09 EST



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@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/