[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111220.234656.658595607282312696.davem@davemloft.net>
Date: Tue, 20 Dec 2011 23:46:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ben@...adent.org.uk
Cc: kevin.curtis@...site.co.uk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/8] farsync: Fix confusion about DMA address and
buffer offset types
From: Ben Hutchings <ben@...adent.org.uk>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists