Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932295AbbDQNWa (ORCPT ); Fri, 17 Apr 2015 09:22:30 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:43578 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753983AbbDQNWZ (ORCPT ); Fri, 17 Apr 2015 09:22:25 -0400 Date: Fri, 17 Apr 2015 14:21:14 +0100 From: Mark Brown To: weiyj_lk@163.com Cc: Peter Rosin , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Wei Yongjun , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Message-ID: <20150417132114.GA10513@sirena.org.uk> References: <1429186666-20547-1-git-send-email-weiyj_lk@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <1429186666-20547-1-git-send-email-weiyj_lk@163.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 92.40.249.81 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] ASoC: tfa9879: Fix return value check in tfa9879_i2c_probe() X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1298 Lines: 37 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2015 at 08:17:46PM +0800, weiyj_lk@163.com wrote: > From: Wei Yongjun >=20 > In case of error, the function devm_kzalloc() returns NULL > not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. Applied, thanks. --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVMQjJAAoJECTWi3JdVIfQXKEH/3NfZQRhj+HO9BG/vxWJo3ew WIOvGnv9aZp5NWEyz7zrWuTWpX1GyaE69TU/TpnYgEtVYBm2kIslqtCtmjmhX9pO mVqBbr0g90j2v4A9dQky/AIESMGVNA5xEyyJIq1Ahtg82d1FxNJ6yGPt3GL8W8xh Ksru7o3WVOf4Io98evqQdDl2LQmu9W1cVBWk9MiTUGTFJDGtp246tvrOLmtlutEB /9cMzQWLs3XalNStu17MnsHPEOqINyCoOKj5l+gB9hfiEswUATnjVgRMhhnBhYKD tdJ9pyHmaR3D2FTRcNJWctC0dHQyH4ZPix+BYaHQpfZPzACn3N9CE83/8cSQNBI= =AWJ3 -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/