Re: [PATCH] ALSA: hda: Error out if invalid stream is being setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 08 Dec 2022 15:26:35 +0100,
Cezary Rojewski wrote:
> 
> 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 <cezary.rojewski@xxxxxxxxx>

Thanks, pulled now.


Takashi



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux