summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorwangdicheng <wangdicheng@kylinos.cn>2026-07-29 15:09:35 +0800
committerTakashi Iwai <tiwai@suse.de>2026-07-29 09:48:08 +0200
commit273806f38ce95c95c288a03d3de1e423cd3e5543 (patch)
treebcd8223d651092c2e92f1a22a057dddaabefb681 /tools/perf/scripts/python/flamegraph.py
parent76b588c0613c05287b9a28bb73d73287aebb886a (diff)
ALSA: hda/conexant: Add NULL check for dc_mode_path
snd_hda_add_new_path() returns NULL when no path exists between the given NIDs, but olpc_xo_update_mic_pins() passes dc_mode_path straight to snd_hda_activate_path() which dereferences it without checking. Add the missing NULL guards, same as the local path variable already has in the same function. Signed-off-by: wangdicheng <wangdicheng@kylinos.cn> Link: https://patch.msgid.link/20260729070935.548050-2-wangdich9700@163.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions