aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2021-01-14 11:36:02 -0500
committerMark Brown <[email protected]>2021-01-21 12:37:05 +0000
commit9c88a9838352c43550ab18080c924824bc660546 (patch)
tree0bf35145a9db52f3eea0b6614a8e8819dffe6cea /tools/perf/scripts/python/futex-contention.py
parentd40ab86f7db3612074d08a317bdb1eb8ba06a37e (diff)
ASoC: topology: Check if ops is set before dereference
Topology can be created without ops overrides, in that case trying to assign any value would lead to dereferencing NULL pointer. Other places in code have either checks for tplg->ops or loop using *_count variables, hence they can't dereference NULL pointer and there is no need to add more checks. 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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions