arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ?

Anatolij Gustschin agust at denx.de
Mon Jun 27 19:04:03 AEST 2016


On Mon, 27 Jun 2016 08:59:42 +0100
David Binderman linuxdev.baldrick at 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


More information about the Linuxppc-dev mailing list