Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431834

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

From Anatolij Gustschin <agust@denx.de>
Newsgroups linux.kernel
Subject Re: arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ?
Date 2016-06-27 11:10 +0200
Message-ID <rOAIi-6Df-15@gated-at.bofh.it> (permalink)
References <rOzCx-5JR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-06-27 10:00 +0200
  Re: arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong %  specifier ? Anatolij Gustschin <agust@denx.de> - 2016-06-27 11:10 +0200

csiph-web