[PATCH] powerpc/64: Drop ppc_inst_as_str()

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jul 4 21:33:47 AEST 2022


On Tue, 31 May 2022 16:59:36 +1000, Michael Ellerman wrote:
> The ppc_inst_as_str() macro tries to make printing variable length,
> aka "prefixed", instructions convenient. It mostly succeeds, but it does
> hide an on-stack buffer, which triggers stack protector.
> 
> More problematically it doesn't compile at all with GCC 12, due to the
> fact that it returns the char buffer declared inside the macro:
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/64: Drop ppc_inst_as_str()
      https://git.kernel.org/powerpc/c/2a83afe72a2b5760155c2dd840c776aee292dc90

cheers


More information about the Linuxppc-dev mailing list