]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: add null checks before logging
authorWyatt Wood <wyatt.wood@amd.com>
Wed, 31 Jul 2019 19:52:46 +0000 (15:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:37:47 +0000 (11:37 -0500)
commitddef02de0d71d483ad4398393717cc0d53fc990a
treee1b5bbeec9ef38ad96c8f9e813124336847a0216
parent43d4baab525dc85f93d1e470a1b6e8ea1b0a5fdd
drm/amd/display: add null checks before logging

Adding NULL checks to various parameters in log_tf, to avoid
nullptr errors

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Nikola Cornij <Nikola.Cornij@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c