]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Clean up code warnings
authorAric Cyr <aric.cyr@amd.com>
Tue, 19 Sep 2023 00:33:15 +0000 (20:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Oct 2023 22:42:01 +0000 (18:42 -0400)
commit889d55154516ec8f98ea953e8660963f2e29c75d
treed31472d4de42e4658221092cf44622b1a4601cb5
parentc0af8c744e7e8f55ea2c26c80fe5c1cfee3a9359
drm/amd/display: Clean up code warnings

- Fix constness of string parameters
- Fix zero-initialization of structs which cannot take a 0 literal as the
  first field, for example enums

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/inc/mod_stats.h