aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorRabin Vincent <[email protected]>2015-11-27 12:59:11 +0100
committerUlf Hansson <[email protected]>2015-12-22 11:32:18 +0100
commit05caee939f8d58d81e962071da85761e1e3a4c73 (patch)
tree66f4f2a7224de468b916bd9d53eca0424b963475 /tools/perf/scripts/python/stat-cpi.py
parent60b71f607796f10ec8814312724759574398512b (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