aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorMagali Lemes <[email protected]>2022-02-24 19:15:50 +0000
committerAlex Deucher <[email protected]>2022-02-24 22:26:20 +0000
commitb83e1ba9395dd39f6336358dd0cbc8ca6ced21e7 (patch)
tree689d30bf6ae7703c729374f001e7db3e9f4f75e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/amd/display: Add conditional around function (diff)
downloadkernel-b83e1ba9395dd39f6336358dd0cbc8ca6ced21e7.tar.gz
kernel-b83e1ba9395dd39f6336358dd0cbc8ca6ced21e7.zip
drm/amd/display: Use NULL instead of 0
Silence the following sparse warnings: ../drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:865:16: sparse: warning: Using plain integer as NULL pointer ../drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:1588:84: sparse: warning: Using plain integer as NULL pointer ../drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2725:84: sparse: warning: Using plain integer as NULL pointer ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1919:16: sparse: warning: Using plain integer as NULL pointer v2: drop removal of default case to avoid adding warnings (Alex) Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Magali Lemes <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions