From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753637Ab3KIPHW (ORCPT ); Sat, 9 Nov 2013 10:07:22 -0500 Received: from cassiel.sirena.org.uk ([80.68.93.111]:40395 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592Ab3KIPHQ (ORCPT ); Sat, 9 Nov 2013 10:07:16 -0500 Date: Sat, 9 Nov 2013 15:07:04 +0000 From: Mark Brown To: Laurent Pinchart Cc: Liam Girdwood , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20131109150704.GS2493@sirena.org.uk> References: <1383999148-2516-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fRTiclqxXzPSgD3k" Content-Disposition: inline In-Reply-To: <1383999148-2516-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Cookie: You love peace. User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 81.152.125.166 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] regulator: gpio-regulator: Don't oops on missing regulator-type property X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on cassiel.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fRTiclqxXzPSgD3k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Nov 09, 2013 at 01:12:28PM +0100, Laurent Pinchart wrote: > Catch missing regulator-type property in DT and return an error > gracefully instead of deferencing a NULL pointer and crashing. Applied, thanks. --fRTiclqxXzPSgD3k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSfk+QAAoJELSic+t+oim9jn0P/iQATpoUh5HNvuQ5fXYsSf+f Q8xW0O2QsFVqiv4YQ7W/aip7Xc8KAH3wQb18PWZL+9flP6imPI5HsO3t08kDW1x1 jQ0JEyoqXA0C7RKUAhDLYNC1oi+JHLvgYnjTWCr5uPb4YZeo3m0MMuT3r9DiI5yZ PGkzMS31dyAJH1w/mbHdihM5CfcDefe4qGJafkIHl4Mxw6t+kETAjnxGeZ/9FRh5 faTeFA8ninBFLXMODhbw9wR4v9+iPiuvxNsWH/WjQbj4ceRiC+ndHkhKZ2tnncRx rxmYd/488aG9BhN+DKYRJ46nVOszABI0llGAAPUL7LqtL06rhPczZAWNgczb/Qks KDApbWEysPQ4+7jwCPkh2L6YoR5nhTsMXUM5L90d3R+33P3F50ykijLGsoSlaq9Q F+LcJc4SKocHk9RKYZpRo+f/INyuZeVh0YuagIh+4l6Ngkmr5yTXeFk1iELg2z0T A6Ng7RHSnn+F+byvGYaxZWGexjkstOKXmuX1+/fQwVKS8fX6MUqNANMSpksMBxR0 BkeCvgfEbS3WIdFcSbvpYM63ooxUcJoE9SyWCmklQzZrHPmgveSYbMmHDRFekJiG PsJoRrfQwjrFDYZTDH/2mYiTC9y6PXTq8E1Z2K0FpwhVJ6VpeVgGTn9Sb9un8duL gvKU8ThdhPTXSMzrZCh3 =08uP -----END PGP SIGNATURE----- --fRTiclqxXzPSgD3k--