RE: [PATCH] dw_mmc: fix multiple drv_data NULL dereferences

From: Seungwon Jeon
Date: Tue Oct 16 2012 - 06:54:11 EST

On Tuesday, October 16, James Hogan <james.hogan@xxxxxxxxxx>
> Commit 800d78bfccb3d38116abfda2a5b9c8afdbd5ea21 ("mmc: dw_mmc: add
> support for implementation specific callbacks") merged in v3.7-rc1.
> The above commit introduced multiple NULL pointer dereferences when
> the default dw_mci_pltfm_probe() is used, as it sets host->drv_data to
> NULL, and that's only checked against NULL in 1 out of the 7 cases where
> it is dereferenced.
> Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx>

Acked-by: Seungwon Jeon <tgih.jun@xxxxxxxxxxx>

Looks good to me.

Seungwon Jeon

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at