diff options
| author | Sung Lee <Sung.Lee@amd.com> | 2025-01-16 17:45:54 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-13 05:02:59 +0300 |
| commit | c87d202692de34ee71d1fd4679a549a29095658a (patch) | |
| tree | 4ed1f010fa3c36a73b3ac3deadb4c1d707a79457 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 871f65a59f3cca534e54ab0efe9d976cdd05ac9a (diff) | |
| download | linux-c87d202692de34ee71d1fd4679a549a29095658a.tar.xz | |
drm/amd/display: Guard Possible Null Pointer Dereference
[WHY]
In some situations, dc->res_pool may be null.
[HOW]
Check if pointer is null before dereference.
Reviewed-by: Joshua Aberback <joshua.aberback@amd.com>
Signed-off-by: Sung Lee <Sung.Lee@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
