[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMzoama3BkAfxqzEt2khiPOcKxkOP1JVSx5UcCwWvGJLGrzLtA@mail.gmail.com>
Date: Mon, 27 Jun 2016 09:04:23 +0100
From: David Binderman <linuxdev.baldrick@...il.com>
To: benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
linuxppc-dev@...ts.ozlabs.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
dcb314@...mail.com
Subject: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ?
Hello there,
linux-4.7-rc5/arch/powerpc/xmon/dis-asm.h:20]: (warning) %x in format
string (no. 1) requires 'unsigned int' but the argument type is
'unsigned long'.
[linux-4.7-rc5/arch/powerpc/xmon/dis-asm.h:26]: (warning) %x in format
string (no. 1) requires 'unsigned int' but the argument type is
'unsigned long'.
Source code is
static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr)
{
printf("%.8x", insn);
return 0;
}
static inline int print_insn_spu(unsigned long insn, unsigned long memaddr)
{
printf("%.8x", insn);
return 0;
}
Regards
David Binderman
Powered by blists - more mailing lists