projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7637197
)
clocksource/drivers: Do not warn on probe defer
author
Jon Hunter
<jonathanh@nvidia.com>
Wed, 21 Aug 2019 15:02:41 +0000
(16:02 +0100)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Mon, 26 Aug 2019 22:31:39 +0000
(
00:31
+0200)
Deferred probe is an expected return value on many platforms and so
there's no need to output a warning that may potentially confuse users.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-probe.c
patch
|
blob
|
history
diff --git
a/drivers/clocksource/timer-probe.c
b/drivers/clocksource/timer-probe.c
index
dda1946
..
ee9574d
100644
(file)
--- a/
drivers/clocksource/timer-probe.c
+++ b/
drivers/clocksource/timer-probe.c
@@
-29,7
+29,9
@@
void __init timer_probe(void)
ret = init_func_ret(np);
if (ret) {
- pr_err("Failed to initialize '%pOF': %d\n", np, ret);
+ if (ret != -EPROBE_DEFER)
+ pr_err("Failed to initialize '%pOF': %d\n", np,
+ ret);
continue;
}