Thread (9 messages) 9 messages, 4 authors, 2009-05-11

Re: [PATCH] i2c-cpm: Pass dev ptr to dma_*_coherent rather than NULL

From: Ben Dooks <ben-linux@fluff.org>
Date: 2009-05-03 22:41:30
Also in: linux-i2c

On Wed, Apr 29, 2009 at 08:43:14AM -0500, Kumar Gala wrote:
On Apr 22, 2009, at 4:56 PM, Ben Dooks wrote:
quoted
On Tue, Apr 21, 2009 at 10:11:51AM -0500, Kumar Gala wrote:
quoted
On Apr 21, 2009, at 7:49 AM, Mark Ware wrote:
quoted
Recent DMA changes result in a BUG() when NULL is passed to
dma_alloc_coherent in place of a device.

Signed-off-by: Mark Ware <redacted>
---

This patch fixes the BUG() during boot that has appeared during the
2.6.30 window. It has been tested and appears correct on my 8280  
based
board.
Sent to both linuxppc-dev and linux-i2c, since I'm not sure where it
belongs.


drivers/i2c/busses/i2c-cpm.c |   14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
Acked-by: Kumar Gala <redacted>

Ben, I'm expecting you to pick this up unless you tell me otherwise.
Yes.
This go in yet?
I've had to do a manual apply due to some changes in the
driver, so can someone please do a build of my git tree
at:

git://aeryn.fluff.org.uk/bjdooks/linux.git i2c-for-2630-rc5

or tell me which arch and defconfig to build.

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help