From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH 2/2] PM / Domains: Fix potential NULL pointer dereference Date: Fri, 11 Mar 2016 00:24:37 +0100 Message-ID: <2444093.rvCdthdsgI@vostro.rjw.lan> References: <1457088915-17284-1-git-send-email-jonathanh@nvidia.com> <1457088915-17284-2-git-send-email-jonathanh@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ulf Hansson , Jon Hunter Cc: Kevin Hilman , Thierry Reding , "linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-pm@vger.kernel.org On Friday, March 04, 2016 12:07:23 PM Ulf Hansson wrote: > On 4 March 2016 at 11:55, Jon Hunter wrote: > > In the function of_genpd_get_from_provider(), we never check to see if > > the argument 'genpdspec' is NULL before dereferencing it. Add error > > checking to handle any NULL pointers. > > > > Signed-off-by: Jon Hunter > > Acked-by: Ulf Hansson Both this one and the [1/2] applied, thanks! Rafael