diff options
author | Austin Kim <austindh.kim@gmail.com> | 2019-08-30 11:07:04 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-30 23:37:17 +0300 |
commit | 9c9284f9cee9052da4cad575da8dc5f2bbb31065 (patch) | |
tree | aa88cb76e109ac5aa96173e79f06a5eaf0dfce59 /scripts/gdb/linux/utils.py | |
parent | 20c14ee135011f2a0fb2f987f05fd9655e804a9d (diff) | |
download | linux-9c9284f9cee9052da4cad575da8dc5f2bbb31065.tar.xz |
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 <austindh.kim@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions