summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_trace_points.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-11-23 12:36:39 -0700
committerAlex Deucher <alexander.deucher@amd.com>2019-11-26 09:48:57 -0500
commit07863a6cc2936f8cc4b5bfb506dec48531cc4948 (patch)
treebaeeec30913921c6b2a95e531afdb07e68ae38bd /drivers/gpu/drm/drm_trace_points.c
parentdde8c8dfd0b7dd61ada1fc1b8560dd974140ba3f (diff)
drm/amd/display: Use NULL for pointer assignment in copy_stream_update_to_stream
Clang warns: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1965:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'struct dc_dsc_config *' [-Wnon-literal-null-conversion] update->dsc_config = false; ^~~~~ ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1971:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'struct dc_dsc_config *' [-Wnon-literal-null-conversion] update->dsc_config = false; ^~~~~ 2 warnings generated. Fixes: f6fe4053b91f ("drm/amd/display: Use a temporary copy of the current state when updating DSC config") Link: https://github.com/ClangBuiltLinux/linux/issues/777 Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_trace_points.c')
0 files changed, 0 insertions, 0 deletions