commit | 44b61a9f23dabf27303d32b4947f017f69ca90f6 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Tue Jun 10 15:30:34 2014 +0530 |
committer | Lee Jones <lee.jones@linaro.org> | Wed Jul 09 14:58:01 2014 +0100 |
tree | c6de8469cebdbe9a57dca4f53bf238e9423e050b | |
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>