alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Richard Zhao <richard.zhao@freescale.com>
Cc: alsa-devel@alsa-project.org, shawn.guo@linaro.org,
	s.hauer@pengutronix.de, lrg@ti.com
Subject: Re: [PATCH 1/2] ASoC: imx-pcm-dma: check kzalloc return value in function snd_imx_open
Date: Tue, 18 Sep 2012 22:52:53 -0400	[thread overview]
Message-ID: <20120919025253.GK8832@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1347960006-23681-1-git-send-email-richard.zhao@freescale.com>

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.

      parent reply	other threads:[~2012-09-19  2:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18  9:20 [PATCH 1/2] ASoC: imx-pcm-dma: check kzalloc return value in function snd_imx_open Richard Zhao
2012-09-18  9:20 ` [PATCH 2/2] ASoC: imx-pcm-dma: open function failed when snd_dmaengine_pcm_open fail Richard Zhao
2012-09-19  2:52 ` Mark Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120919025253.GK8832@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=lrg@ti.com \
    --cc=richard.zhao@freescale.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawn.guo@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).