aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <[email protected]>2021-10-07 02:37:06 -0400
committerSimon Ser <[email protected]>2021-10-07 12:24:44 +0200
commit7be28bd73f23e53d6e7f5fe891ba9503fc0c7210 (patch)
tree92f1548965dad9f0b9ed76ab9c443d3cc0fbbb93 /scripts/gdb/linux/modules.py
parent15184965783aab3ca7ee4f939e2598943b3f40f9 (diff)
drm/plane-helper: fix uninitialized variable reference
drivers/gpu/drm/drm_plane_helper.c: In function 'drm_primary_helper_update': drivers/gpu/drm/drm_plane_helper.c:113:32: error: 'visible' is used uninitialized [-Werror=uninitialized] 113 | struct drm_plane_state plane_state = { | ^~~~~~~~~~~ drivers/gpu/drm/drm_plane_helper.c:178:14: note: 'visible' was declared here 178 | bool visible; | ^~~~~~~ cc1: all warnings being treated as errors visible is an output, not an input. in practice this use might turn out OK but it's still UB. Fixes: df86af9133b4 ("drm/plane-helper: Add drm_plane_helper_check_state()") Reviewed-by: Simon Ser <[email protected]> Signed-off-by: Alex Xu (Hello71) <[email protected]> Signed-off-by: Simon Ser <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions