aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorPeichen Huang <[email protected]>2025-06-12 08:06:41 +0000
committerAlex Deucher <[email protected]>2025-06-30 15:58:29 +0000
commit158b9201c17fc93ed4253c2f03b77fd2671669a1 (patch)
treeb42091b68c37116343b686a7196358699a4e2bdf /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parentdrm/amdgpu: move scheduler wqueue handling into callbacks (diff)
downloadkernel-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