Re: [PATCH] dw-mmc: prevent the Null pointer dereference for dma_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Wed, Apr 18, 2012 at 7:42 AM, Jaehoon Chung <jh80.chung@xxxxxxxxxxx> 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 mode.
> Signed-off-by: Jaehoon Chung <jh80.chung@xxxxxxxxxxx>
> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> ---
>  drivers/mmc/host/dw_mmc.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

This looks ok.

Acked-by: Will Newton <will.newton@xxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux