diff options
author | Rabin Vincent <[email protected]> | 2015-11-27 12:59:11 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2015-12-22 11:32:18 +0100 |
commit | 05caee939f8d58d81e962071da85761e1e3a4c73 (patch) | |
tree | 66f4f2a7224de468b916bd9d53eca0424b963475 /tools/perf/scripts/python/stat-cpi.py | |
parent | 60b71f607796f10ec8814312724759574398512b (diff) |
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: [email protected] # v4.3
Signed-off-by: Rabin Vincent <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions