Thread (2 messages) 2 messages, 2 authors, 2018-01-22

Re: powerpc/xmon: Do not compute/store the major opcode

From: Michael Ellerman <hidden>
Date: 2018-01-22 03:34:21

On Tue, 2017-12-26 at 13:25:47 UTC, Mathieu Malaterre wrote:
In commit 5b102782c7f4 ("powerpc/xmon: Enable disassembly files (compilation
changes)") usage of variable `op` has been removed. Completely remove opcode
computation since not used anymore.

Fix fatal warning:

arch/powerpc/xmon/ppc-dis.c: In function ���lookup_powerpc���:
arch/powerpc/xmon/ppc-dis.c:96:17: error: variable ���op��� set but not used [-Werror=unused-but-set-variable]
   unsigned long op;
                 ^~

Signed-off-by: Mathieu Malaterre <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/104d55ae4df928c205268c1eb83b80

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help