diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-12-02 08:02:08 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-12-16 09:59:41 +0100 |
commit | d662ed204357cfcf3b069ba705446f7395b80fc5 (patch) | |
tree | 536c8c20e1f95ca51dc889c71c99087f6de42a14 /samples | |
parent | 9c9ae5ffee2831c0b8c0b002443b093e141d08f1 (diff) | |
download | op-kernel-dev-d662ed204357cfcf3b069ba705446f7395b80fc5.zip op-kernel-dev-d662ed204357cfcf3b069ba705446f7395b80fc5.tar.gz |
clocksource/drivers/lpc32: Correct pr_err() output format
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@mleia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions