Re: drivers/gpu/drm/nouveau/nouveau_exec.c:114:4: error: cannot jump from this indirect goto statement to one of its possible targets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Naresh,

On Thu, Aug 10, 2023 at 02:11:41PM +0530, Naresh Kamboju wrote:
> drivers/gpu/drm/nouveau/nouveau_exec.c:114:4: error: cannot jump from
> this indirect goto statement to one of its possible targets
>   114 |                         drm_exec_retry_on_contention(exec);
>       |                         ^
> include/drm/drm_exec.h:96:4: note: expanded from macro
> 'drm_exec_retry_on_contention'
>    96 |                         goto *__drm_exec_retry_ptr;             \
>       |                         ^
> drivers/gpu/drm/nouveau/nouveau_exec.c:106:2: note: possible target of
> indirect goto statement
>   106 |         drm_exec_until_all_locked(exec) {
>       |         ^
> include/drm/drm_exec.h:79:33: note: expanded from macro
> 'drm_exec_until_all_locked'
>    79 |                 __label__ __drm_exec_retry;                     \
>       |                                                                 ^
> drivers/gpu/drm/nouveau/nouveau_exec.c:106:2: note: jump enters a
> statement expression
> include/drm/drm_exec.h:78:35: note: expanded from macro
> 'drm_exec_until_all_locked'
>    78 |         for (void *__drm_exec_retry_ptr; ({                     \
>       |                                          ^
> 1 error generated.

Thanks for the report. This is now fixed in drm-misc-next, so it should
be resolved in the next -next:

https://cgit.freedesktop.org/drm/drm-misc/commit/?id=616bceae250d0bab7ab2cbcb0791d820434ffb71

Cheers,
Nathan



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux