[PATCH] clocksource: correct pr_err() output format
Joachim Eastwood
manabian at gmail.com
Fri Dec 4 10:37:52 PST 2015
On 2 December 2015 at 07:02, Vladimir Zapolskiy <vz at mleia.com> wrote:
> If by some reason timerclk is not available, both clockevent and
> clocksource initializations correctly exit, but output of errno to
> kernel log buffer may be confusing:
>
> lpc32xx_clk_init: failed to map system control block registers
> lpc32xx_clocksource_init: clock get failed (4294966779)
> lpc32xx_clockevent_init: clock get failed (4294966779)
>
> Use signed integer output in the correspondent pr_err() string formats:
>
> lpc32xx_clocksource_init: clock get failed (-517)
> lpc32xx_clockevent_init: clock get failed (-517)
>
> Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
Acked-by: Joachim Eastwood <manabian at gmail.com>
regards,
Joachim Eastwood
More information about the linux-arm-kernel
mailing list