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

From: David Miller
Date: Mon Oct 28 2013 - 00:26:33 EST


From: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
Date: Sun, 27 Oct 2013 21:51:44 +0000

> - dbg(DBG_TX, "In fst_tx_dma %p %p %d\n", skb, mem, len);
> + dbg(DBG_TX, "In fst_tx_dma %x %x %d\n", (u32)skb, mem, len);

Please use %p for the skb pointer instead of casting it (which btw
will introduce a warning on 64-bit).
--
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/