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


Groups > linux.kernel > #1431791

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

From David Binderman <linuxdev.baldrick@gmail.com>
Newsgroups linux.kernel
Subject arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ?
Date 2016-06-27 10:00 +0200
Message-ID <rOzCx-5JR-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext 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