[alsa-devel] [PATCH 1/2] ASoC: imx-pcm-dma: check kzalloc return value in function snd_imx_open

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Sep 19 04:52:53 CEST 2012


On Tue, Sep 18, 2012 at 05:20:05PM +0800, Richard Zhao wrote:
> It fixed smatch warning:
> sound/soc/fsl/imx-pcm-dma.c:112 snd_imx_open() error: potential null dereference 'dma_data'.  (kzalloc returns null)

Applied both, thanks.


More information about the Alsa-devel mailing list