Messages in this thread | | | From | Seungwon Jeon <> | Subject | RE: [PATCH] dw_mmc: fix multiple drv_data NULL dereferences | Date | Tue, 16 Oct 2012 19:54:12 +0900 |
| |
On Tuesday, October 16, James Hogan <james.hogan@imgtec.com> > 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@imgtec.com>
Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
Looks good to me. Thanks.
Seungwon Jeon
| |