aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2020-04-15 16:28:49 +0000
committerMark Brown <[email protected]>2020-04-16 12:01:33 +0000
commit326b509238171d37402dbe308e154cc234ed1960 (patch)
treedc81b4eb669fcf3a6afb954e49f7ffb38cc6ab38 /tools/perf/scripts/python/syscall-counts.py
parentASoC: soc-dai: revert all changes to DAI startup/shutdown sequence (diff)
downloadkernel-326b509238171d37402dbe308e154cc234ed1960.tar.gz
kernel-326b509238171d37402dbe308e154cc234ed1960.zip
ASoC: codecs: hdac_hdmi: Fix incorrect use of list_for_each_entry
If we don't find any pcm, pcm will point at address at an offset from the the list head and not a meaningful structure. Fix this by returning correct pcm if found and NULL if not. Found with coccinelle. Signed-off-by: Amadeusz Sławiński <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions