Thread (8 messages) 8 messages, 3 authors, 2011-12-21

Re: [PATCH 2/8] farsync: Fix confusion about DMA address and buffer offset types

From: David Miller <davem@davemloft.net>
Date: 2011-12-21 04:47:12
Also in: lkml

From: Ben Hutchings <redacted>
Date: Wed, 21 Dec 2011 01:32:52 +0000
-	dbg(DBG_RX, "In fst_rx_dma %lx %lx %d\n",
-	    (unsigned long) skb, (unsigned long) mem, len);
+	dbg(DBG_RX, "In fst_rx_dma %x %x %d\n", (u32)skb, mem, len);
This is more appropriately fixed by using "%p" instead of casting
to a 32-bit int.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help