diff options
author | Christian König <[email protected]> | 2023-07-31 14:36:24 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2023-08-10 08:38:52 +0200 |
commit | 616bceae250d0bab7ab2cbcb0791d820434ffb71 (patch) | |
tree | 43e559eb8fa110246caa0f15af7a361ce9b30c25 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 204042049a941d2a9a7d49bdcda768578b5f88ec (diff) |
drm/exec: use unique instead of local label
GCC forbids to jump to labels in loop conditions and a new clang
check stumbled over this.
So instead using a local label inside the loop condition use an
unique label outside of it.
Fixes: 09593216bff1 ("drm: execution context for GEM buffers v7")
Link: https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html
Link: https://github.com/ClangBuiltLinux/linux/issues/1890
Link: https://github.com/llvm/llvm-project/commit/20219106060208f0c2f5d096eb3aed7b712f5067
Reported-by: Nathan Chancellor <[email protected]>
Reported-by: Naresh Kamboju <[email protected]>
CC: Boris Brezillon <[email protected]>
Signed-off-by: Christian König <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions