[PATCH] powerpc/ptrace: Fix cppcheck issue in gpr32_set_common/gpr32_get_common.
dja at axtens.net
Thu Aug 25 11:06:45 AEST 2016
Simon Guo <wei.guo.simon at gmail.com> writes:
> I think keeping tm_active argument for "ifndef CONFIG_PPC_TRANSACTIONAL_MEM"
> case (with __maybe_unused prefix) will be somehow strange -- Whatever
> value is provided in the caller function for tm_active, programmer might be
> puzzled and cost sometime to think about it. I don't like to use
> "__maybe_unused" to bypass this warning.
Fair enough. I don't have strong feelings either way - we'll see if the
maintainers have any thoughts.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 859 bytes
Desc: not available
More information about the Linuxppc-dev