diff options
author | Sean Paul <seanpaul@chromium.org> | 2019-05-15 19:00:52 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2019-05-15 22:03:08 +0200 |
commit | 2b117451277140b782f3e4e56a4296c0a165e7ae (patch) | |
tree | a39bf61b41f63724e6c228bb7d9f44f788b4ffca /drivers/net/ethernet/intel/igbvf/netdev.c | |
parent | drm/msm/dpu: Remove duplicate header (diff) | |
download | linux-2b117451277140b782f3e4e56a4296c0a165e7ae.tar.xz linux-2b117451277140b782f3e4e56a4296c0a165e7ae.zip |
drm/msm: Upgrade gxpd checks to IS_ERR_OR_NULL
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 <jcrouse@codeaurora.org>
Cc: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeauorora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190515170104.155525-1-sean@poorly.run
Diffstat (limited to 'drivers/net/ethernet/intel/igbvf/netdev.c')
0 files changed, 0 insertions, 0 deletions