diff options
| author | Cezary Rojewski <[email protected]> | 2022-12-08 14:26:35 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2022-12-09 08:54:53 +0000 |
| commit | 084ca216931ab9313e6fb862c2ec9ec5e0702cd5 (patch) | |
| tree | 4d539caa866358c6fd625b06e80d79fa58bd576f /tools/perf/scripts/python/intel-pt-events.py | |
| parent | Merge tag 'asoc-v6.2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/br... (diff) | |
| download | kernel-084ca216931ab9313e6fb862c2ec9ec5e0702cd5.tar.gz kernel-084ca216931ab9313e6fb862c2ec9ec5e0702cd5.zip | |
ALSA: hda: Error out if invalid stream is being setup
Scenario when snd_hdac_stream_setup_periods() receives an instance of
struct hdac_stream with neither ->substream nor ->cstream initialized is
invalid.
Simultaneously addresses "uninitialized symbol 'dmab'" error reported by
Smatch.
Fixes: 3e9582267e3a ("ALSA: hda: Interrupt servicing and BDL setup for compress streams")
Signed-off-by: Cezary Rojewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
