summaryrefslogtreecommitdiff
path: root/src/drm_fb.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-26 16:58:20 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-26 18:09:39 -0700
commit12a4ecfbf413777c3ef98719e6b41993a9618903 (patch)
tree1ca1da86cf3a882de694ce82b14e50be0a1bed3c /src/drm_fb.c
parenteee1721010b37cccde8635796cb2a2553d19889f (diff)
setup,til: assert(desc) if setup_func() wants more settings
In this "all settings require descs" world, when setup_func forgets to return a res_desc for a setting it wants, we can end up in an infinite loop situation. It's better to abort immediately on the assert to catch such a program error.
Diffstat (limited to 'src/drm_fb.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved