aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-06-03 12:03:15 +0100
committerMark Brown <[email protected]>2021-06-03 13:59:59 +0100
commitd66e033910593d99700cd9e2a75698395fcd676f (patch)
tree451e2f05283572de4bf567801ab5bb722d2cd02e /tools/perf/scripts/python/stackcollapse.py
parent14aa731dbf464f7272bcc2f0c4f32f6de28cbe8c (diff)
ASoC: rsnd: check for zero node count
Most callers of_get_child_count() check that "nr" is non-zero so it causes a static checker warning when we don't do that here. This does not cause a problem or a crash, but having zero SSUIes does not make sense either so let's add a check. Addresses-Coverity: ("Unchecked return value") Fixes: c413983eb66a ("ASoC: rsnd: adjust disabled module") Acked-by: Kuninori Morimoto <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions