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

David Binderman linuxdev.baldrick at gmail.com
Mon Jun 27 17:59:42 AEST 2016


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


More information about the Linuxppc-dev mailing list