From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from trinity.fluff.org (trinity.fluff.org [89.16.178.74]) by ozlabs.org (Postfix) with ESMTP id 237E6DDF8F for ; Thu, 23 Apr 2009 11:02:45 +1000 (EST) Date: Wed, 22 Apr 2009 22:56:46 +0100 From: Ben Dooks To: Kumar Gala Subject: Re: [PATCH] i2c-cpm: Pass dev ptr to dma_*_coherent rather than NULL Message-ID: <20090422215646.GA19997@trinity.fluff.org> References: <49EDC0BE.7040505@elphinstone.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Linuxppc-dev Development , linux-i2c@vger.kernel.org, Ben Dooks , Mark Ware List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Apr 21, 2009 at 10:11:51AM -0500, Kumar Gala wrote: > > On Apr 21, 2009, at 7:49 AM, Mark Ware wrote: > > >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 > >--- > > > >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 > > Ben, I'm expecting you to pick this up unless you tell me otherwise. Yes. -- Ben Q: What's a light-year? A: One-third less calories than a regular year.