Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1431795
| From | David Binderman <linuxdev.baldrick@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ? |
| Date | 2016-06-27 10:10 +0200 |
| Message-ID | <rOzMe-62T-23@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-06-27 10:10 +0200
Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ? Michael Ellerman <mpe@ellerman.id.au> - 2016-06-28 06:10 +0200
Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-06-28 09:10 +0200
Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ? Michael Ellerman <mpe@ellerman.id.au> - 2016-06-28 09:20 +0200
Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ? Segher Boessenkool <segher@kernel.crashing.org> - 2016-06-28 11:00 +0200
Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ? Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2016-06-28 12:00 +0200
csiph-web