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

David Binderman
2016-06-27T07:59:45Z

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