diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-24 13:32:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-24 13:32:42 -0400 |
commit | 44d1b6dd3aa1651e1a9467a055a72c81eb96b8e3 (patch) | |
tree | ed3f566b0e5f1fdbf1e31ecf653f2bdb6fe71bdd | |
parent | 0f0fbec9c3ce4ed4517cc184f71e695725098fc5 (diff) | |
parent | b7c8b4aac6ea6746b1c49fda0a0563a07203dd26 (diff) |
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fix from Thomas Gleixner:
"A single fix to the pistachio clocksource driver using the proper
signedness in the error print format"
* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
clocksource/drivers/pistachio: Correct output format of PTR_ERR()
-rw-r--r-- | drivers/clocksource/time-pistachio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/time-pistachio.c b/drivers/clocksource/time-pistachio.c index 3269d9ef7a18..376e59bc5fa0 100644 --- a/drivers/clocksource/time-pistachio.c +++ b/drivers/clocksource/time-pistachio.c | |||
@@ -163,7 +163,7 @@ static void __init pistachio_clksrc_of_init(struct device_node *node) | |||
163 | 163 | ||
164 | periph_regs = syscon_regmap_lookup_by_phandle(node, "img,cr-periph"); | 164 | periph_regs = syscon_regmap_lookup_by_phandle(node, "img,cr-periph"); |
165 | if (IS_ERR(periph_regs)) { | 165 | if (IS_ERR(periph_regs)) { |
166 | pr_err("cannot get peripheral regmap (%lu)\n", | 166 | pr_err("cannot get peripheral regmap (%ld)\n", |
167 | PTR_ERR(periph_regs)); | 167 | PTR_ERR(periph_regs)); |
168 | return; | 168 | return; |
169 | } | 169 | } |
@@ -176,7 +176,7 @@ static void __init pistachio_clksrc_of_init(struct device_node *node) | |||
176 | 176 | ||
177 | sys_clk = of_clk_get_by_name(node, "sys"); | 177 | sys_clk = of_clk_get_by_name(node, "sys"); |
178 | if (IS_ERR(sys_clk)) { | 178 | if (IS_ERR(sys_clk)) { |
179 | pr_err("clock get failed (%lu)\n", PTR_ERR(sys_clk)); | 179 | pr_err("clock get failed (%ld)\n", PTR_ERR(sys_clk)); |
180 | return; | 180 | return; |
181 | } | 181 | } |
182 | 182 | ||