From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Subject: Re: [PATCH] dw-mmc: prevent the Null pointer dereference for dma_ops Date: Wed, 18 Apr 2012 20:02:14 -0400 Message-ID: <87sjg0lhbt.fsf@laptop.org> References: <4F8E6257.5010603@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from void.printf.net ([89.145.121.20]:35762 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754659Ab2DSACE convert rfc822-to-8bit (ORCPT ); Wed, 18 Apr 2012 20:02:04 -0400 In-Reply-To: (Will Newton's message of "Wed, 18 Apr 2012 11:02:11 +0100") Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Will Newton Cc: Jaehoon Chung , linux-mmc , Will Newton , James Hogan , Kyungmin Park Hi, On Wed, Apr 18 2012, Will Newton wrote: > On Wed, Apr 18, 2012 at 7:42 AM, Jaehoon Chung wrote: >> Now, dma_ops is assumed that use the IDMAC. >> But if dma_ops is assigned the pdata->dma_ops, >> We didn't ensure that callback function is defined. >> >> If anything of callback didn't define, then should be run the PIO mo= de. >> >> Signed-off-by: Jaehoon Chung >> Signed-off-by: Kyungmin Park >> --- >> =C2=A0drivers/mmc/host/dw_mmc.c | =C2=A0 =C2=A03 ++- >> =C2=A01 files changed, 2 insertions(+), 1 deletions(-) > > This looks ok. > > Acked-by: Will Newton Thanks, pushed to mmc-next for 3.5. - Chris. --=20 Chris Ball One Laptop Per Child