diff options
| author | Peichen Huang <[email protected]> | 2025-06-12 08:06:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-30 15:58:29 +0000 |
| commit | 158b9201c17fc93ed4253c2f03b77fd2671669a1 (patch) | |
| tree | b42091b68c37116343b686a7196358699a4e2bdf /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
| parent | drm/amdgpu: move scheduler wqueue handling into callbacks (diff) | |
| download | kernel-158b9201c17fc93ed4253c2f03b77fd2671669a1.tar.gz kernel-158b9201c17fc93ed4253c2f03b77fd2671669a1.zip | |
drm/amd/display: add null check
[WHY]
Prevents null pointer dereferences to enhance function robustness
[HOW]
Adds early null check and return false if invalid.
Reviewed-by: Cruise Hung <[email protected]>
Signed-off-by: Peichen Huang <[email protected]>
Signed-off-by: Ray Wu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions
