diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-06-10 15:30:34 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 14:58:01 +0100 |
commit | 44b61a9f23dabf27303d32b4947f017f69ca90f6 (patch) | |
tree | c6de8469cebdbe9a57dca4f53bf238e9423e050b /drivers/mfd/tc3589x.c | |
parent | 967580598f46997ce5eeeea812686f5220bb49de (diff) |
mfd: asic3: Fix potential null pointer dereference
We previously assumed 'mem_sdio' could be null but it is
dereferenced in ioremap(). Add a check to avoid a potential
null pointer dereference error.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/tc3589x.c')
0 files changed, 0 insertions, 0 deletions