Re: [PATCH] drm/msm: Upgrade gxpd checks to IS_ERR_OR_NULL

2019-05-16 Thread Bjorn Andersson
On Wed 15 May 13:07 PDT 2019, Sean Paul wrote: > On Wed, May 15, 2019 at 3:39 PM Jordan Crouse wrote: > > > > On Wed, May 15, 2019 at 01:00:52PM -0400, Sean Paul wrote: > > > From: Sean Paul > > > > > > dev_pm_domain_attach_by_name() can return NULL, so we should check for > > > that case when

Re: [PATCH] drm/msm: Upgrade gxpd checks to IS_ERR_OR_NULL

2019-05-15 Thread Sean Paul
On Wed, May 15, 2019 at 3:39 PM Jordan Crouse wrote: > > On Wed, May 15, 2019 at 01:00:52PM -0400, Sean Paul wrote: > > From: Sean Paul > > > > dev_pm_domain_attach_by_name() can return NULL, so we should check for > > that case when we're about to dereference gxpd. > > > > Fixes: 9325d4266afd

Re: [PATCH] drm/msm: Upgrade gxpd checks to IS_ERR_OR_NULL

2019-05-15 Thread Jordan Crouse
On Wed, May 15, 2019 at 01:00:52PM -0400, Sean Paul wrote: > From: Sean Paul > > dev_pm_domain_attach_by_name() can return NULL, so we should check for > that case when we're about to dereference gxpd. > > Fixes: 9325d4266afd ("drm/msm/gpu: Attach to the GPU GX power domain") > Cc: Jordan

[PATCH] drm/msm: Upgrade gxpd checks to IS_ERR_OR_NULL

2019-05-15 Thread Sean Paul
From: Sean Paul dev_pm_domain_attach_by_name() can return NULL, so we should check for that case when we're about to dereference gxpd. Fixes: 9325d4266afd ("drm/msm/gpu: Attach to the GPU GX power domain") Cc: Jordan Crouse Cc: Rob Clark Signed-off-by: Sean Paul ---