On Sun, 15 Nov 2026 14:18:07 -0700, Nathan Chancellor wrote:
> After a recent improvement in clang to warn on unsequenced accesses to
> volatile variables [1], an instance appears in show_task(), which can
> break the build with CONFIG_PPC_WERROR=y / CONFIG_WERROR=y / W=e:
> 
>   arch/powerpc/xmon/xmon.c:3262:3: error: unsequenced accesses to volatile 
> qualified 'tsk' [-Werror,-Wunsequenced]
>    3261 |         printf("%16px %16lx %16px %6d %6d %c %2d %s\n", tsk,
>         |                                                         ~~~
>    3262 |                 tsk->thread.ksp, tsk->thread.regs,
>         |                 ^
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/xmon: Avoid unsequenced accesses to tsk in show_task()
      https://git.kernel.org/powerpc/c/9ea01307e6c824eb0b8934d95d52bbacae17887d

cheers

Reply via email to