diff options
author | Rabin Vincent <rabin.vincent@axis.com> | 2015-11-27 12:59:11 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-12-22 11:32:18 +0100 |
commit | 05caee939f8d58d81e962071da85761e1e3a4c73 (patch) | |
tree | 66f4f2a7224de468b916bd9d53eca0424b963475 /drivers/mmc/core | |
parent | 60b71f607796f10ec8814312724759574398512b (diff) | |
download | linux-05caee939f8d58d81e962071da85761e1e3a4c73.tar.bz2 |
mmc: usdhi6rol0: handle NULL data in timeout
Commit bb08a7d489bd ("mmc: usdhi6rol0: fix NULL pointer deref in debug
print") fixed one NULL pointer dereference but unfortunately introduced
another. "data" may be NULL if this is a command timeout for a command
without any data, so we should only use it if we're actually waiting for
data.
Fixes: bb08a7d489bd ("mmc: usdhi6rol0: fix NULL pointer deref in debug print")
Cc: stable@vger.kernel.org # v4.3
Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core')
0 files changed, 0 insertions, 0 deletions