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

From: David Miller
Date: Tue Dec 20 2011 - 23:47:09 EST


From: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
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.

--
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/