]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amd/display: Fix use before initialize warning
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 8 Nov 2017 20:30:19 +0000 (15:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:46 +0000 (12:47 -0500)
commit671b00e26c6ca40f90789b0af59fafd44a096be9
tree0f621dc93b7a8a5270d9ca6b78aa15eed05d5cbf
parentdb65d4ad91e7dc5b9109b115af70cf294e7686c4
drm/amd/display: Fix use before initialize warning

on stream_for_cursor. Initialize to NULL.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c