[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130731140011.GV9858@sirena.org.uk>
Date: Wed, 31 Jul 2013 15:00:11 +0100
From: Mark Brown <broonie@...nel.org>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: lgirdwood@...il.com, perex@...ex.cz, tiwai@...e.de,
kuninori.morimoto.gx@...esas.com, yongjun_wei@...ndmicro.com.cn,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] ASoC: rcar: fix return value check in
rsnd_gen1_probe()
On Tue, Jul 30, 2013 at 07:51:37AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function devm_ioremap_resource() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should be
> replaced with IS_ERR(), and also remove the dev_err call to avoid redundant
> error message.
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists