diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-09-13 17:56:43 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-20 23:24:33 +0200 |
commit | 2fd0c93cd219779eef4b1301f9613e43adc86e39 (patch) | |
tree | 33bde3e9185d205aac9bedb87df544635b22ffdd /kernel/trace | |
parent | 57ccdf449f962ab5fc8cbf26479402f13bdb8be7 (diff) |
clocksource/mips-gic-timer: Print an error if IRQ setup fails
We've checked for errors from setup_irq_percpu since commit f95ac8558b88
("CLOCKSOURCE: mips-gic: Add missing error returns checks") but didn't
print an error message in the failure case. This makes it very easy to
overlook the GIC timer clock event driver not being registered, since
we'll generally just use a different clock event driver if that happens.
Print an error if IRQ setup fails in order to make such problems harder
to miss (ie. not completely silent).
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/20160913165644.627-1-paul.burton@imgtec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions