aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorAustin Kim <[email protected]>2019-08-30 08:07:04 +0000
committerAlex Deucher <[email protected]>2019-08-30 20:37:17 +0000
commit9c9284f9cee9052da4cad575da8dc5f2bbb31065 (patch)
treeaa88cb76e109ac5aa96173e79f06a5eaf0dfce59 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/amdgpu: Fix undefined dm_ip_block for navi12 (diff)
downloadkernel-9c9284f9cee9052da4cad575da8dc5f2bbb31065.tar.gz
kernel-9c9284f9cee9052da4cad575da8dc5f2bbb31065.zip
drm/amdgpu: Move null pointer dereference check
Null pointer dereference check should have been checked, ahead of below routine. struct amdgpu_device *adev = hwmgr->adev; With this commit, it could avoid potential NULL dereference. Signed-off-by: Austin Kim <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions