diff options
author | Rob Clark <[email protected]> | 2024-02-12 13:55:34 -0800 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2024-02-13 18:03:58 +0200 |
commit | b6802b61a9d0e99dcfa6fff7c50db7c48a9623d3 (patch) | |
tree | 0682654704cec1c2d30e0183691b5a689122e7b8 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b671cd3d456315f63171a670769356a196cf7fd0 (diff) |
drm/crtc: fix uninitialized variable use even harder
DRM_MODESET_LOCK_ALL_BEGIN() has a hidden trap-door (aka retry loop),
which means we can't rely too much on variable initializers.
Fixes: 6e455f5dcdd1 ("drm/crtc: fix uninitialized variable use")
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Tested-by: Dmitry Baryshkov <[email protected]> # sc7180, sdm845
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions