Re: [PATCH v2] drm: fix indirect goto into statement expression UB

2023-07-31 Thread Christian König
Am 31.07.23 um 09:03 schrieb Boris Brezillon: On Fri, 28 Jul 2023 10:17:57 -0700 Nathan Chancellor wrote: + people from trailers of 09593216bff1 On Thu, Jul 27, 2023 at 03:50:58PM -0700, ndesaulni...@google.com wrote: A new diagnostic in clang-17 now produces the following build error:

Re: [PATCH v2] drm: fix indirect goto into statement expression UB

2023-07-31 Thread Boris Brezillon
On Fri, 28 Jul 2023 10:17:57 -0700 Nathan Chancellor wrote: > + people from trailers of 09593216bff1 > > On Thu, Jul 27, 2023 at 03:50:58PM -0700, ndesaulni...@google.com wrote: > > A new diagnostic in clang-17 now produces the following build error: > > > >

Re: [PATCH v2] drm: fix indirect goto into statement expression UB

2023-07-28 Thread Nathan Chancellor
+ people from trailers of 09593216bff1 On Thu, Jul 27, 2023 at 03:50:58PM -0700, ndesaulni...@google.com wrote: > A new diagnostic in clang-17 now produces the following build error: > > drivers/gpu/drm/tests/drm_exec_test.c:41:3: error: cannot jump from this > indirect goto statement to one of

[PATCH v2] drm: fix indirect goto into statement expression UB

2023-07-27 Thread ndesaulniers
A new diagnostic in clang-17 now produces the following build error: drivers/gpu/drm/tests/drm_exec_test.c:41:3: error: cannot jump from this indirect goto statement to one of its possible targets 41 | drm_exec_retry_on_contention(); | ^