summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorIvan Lipski <ivan.lipski@amd.com>2026-05-27 14:57:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-05-28 16:21:42 -0400
commit470d1ae31d29f90b8998c5c08ee0b267a05fe378 (patch)
treee7574040a3056721604edb55510e8f7871f12915 /include/linux/debugobjects.h
parent989bdec8ca04a4f4855981a68ad295dcc257291f (diff)
drm/amd/display: Add a default case for dc_status_to_str
[Why&How] If a parsed dc_status case is not covered by the dc_status_to_str, the switch case is skipped, and the function returns "Unexpected status error". This causes build failures when new dc_status enums are introduced. Changing the 'return "Unexpected status error"' into default resolves it. Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions