All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ?
@ 2016-06-27  7:59 David Binderman
  2016-06-27  9:04 ` Anatolij Gustschin
  0 siblings, 1 reply; 2+ messages in thread
From: David Binderman @ 2016-06-27  7:59 UTC (permalink / raw)
  To: agust, benh, paulus, mpe, linuxppc-dev,
	Linux Kernel Mailing List, dcb314

Hello there,

linux-4.7-rc5/arch/powerpc/platforms/512x/clock-commonclk.c:824]:
(warning) %d in format string (no. 1) requires 'int' but the argument
type is 'size_t {aka unsigned long}'.

Source code is

        snprintf(name, sizeof(name), "psc%d", mclk_idx);


Regards

David Binderman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ?
  2016-06-27  7:59 arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ? David Binderman
@ 2016-06-27  9:04 ` Anatolij Gustschin
  0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2016-06-27  9:04 UTC (permalink / raw)
  To: David Binderman
  Cc: benh, paulus, mpe, linuxppc-dev, Linux Kernel Mailing List, dcb314

On Mon, 27 Jun 2016 08:59:42 +0100
David Binderman linuxdev.baldrick@gmail.com wrote:
...
>linux-4.7-rc5/arch/powerpc/platforms/512x/clock-commonclk.c:824]:
>(warning) %d in format string (no. 1) requires 'int' but the argument
>type is 'size_t {aka unsigned long}'.

mpc512x is 32-bit arch, size_t is unsigned int if you build 32-bit
kernel.

thanks,

Anatolij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-27  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27  7:59 arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ? David Binderman
2016-06-27  9:04 ` Anatolij Gustschin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.