diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-02-25 10:48:21 +0100 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-02-25 21:42:52 +0100 |
commit | eab36b2478aaed00ef381f4e855d4e0c14778a32 (patch) | |
tree | 3db0d2587be822e117f323ef1dce50fd94532356 /drivers/mmc/host/davinci_mmc.c | |
parent | mmc: wmt-sdmmc: Fix NULL pointer dereference (diff) | |
download | linux-eab36b2478aaed00ef381f4e855d4e0c14778a32.tar.xz linux-eab36b2478aaed00ef381f4e855d4e0c14778a32.zip |
mmc: sdhci-spear: Fix NULL pointer dereference
pdata could be NULL if cd_gpio = -1. Dereference pdata only
if it is not NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/host/davinci_mmc.c')
0 files changed, 0 insertions, 0 deletions