aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJarkko Nikula <[email protected]>2010-09-05 19:10:22 +0300
committerLiam Girdwood <[email protected]>2010-09-06 11:36:22 +0100
commitc776357e0adc2a25bd22eb75155030132c88a0dd (patch)
tree917edb0d57554a9a1a68ab471c41cdbede3617af /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent098b1718230466b48f2027eb26cdc921760ae5da (diff)
ASoC: tlv320aic3x: Fix null pointer dereference when pdata is not set
Null pointer dereference will occur from *setup = pdata->setup if pdata is not set. Fix this by moving assignments from pdata inside non-null case. Thanks to Jiri Slaby <[email protected]> for noticing. Signed-off-by: Jarkko Nikula <[email protected]> Cc: Jiri Slaby <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions