* [tip:timers/core] clocksource: scx200_hrt: Fix the build
@ 2012-02-22 16:13 tip-bot for Ingo Molnar
2012-02-24 0:28 ` John Stultz
0 siblings, 1 reply; 2+ messages in thread
From: tip-bot for Ingo Molnar @ 2012-02-22 16:13 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, john.stultz, hpa, mingo, jim.cromie, tglx, mingo
Commit-ID: 10ea9d6f5663c3ed51f91cd037b4b9b147273cbb
Gitweb: http://git.kernel.org/tip/10ea9d6f5663c3ed51f91cd037b4b9b147273cbb
Author: Ingo Molnar <mingo@elte.hu>
AuthorDate: Wed, 22 Feb 2012 13:19:37 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 22 Feb 2012 13:25:16 +0100
clocksource: scx200_hrt: Fix the build
This commit:
12d6d41276de: clocksource: scx200_hrt: Convert scx200 to use clocksource_register_hz
Breaks the build on x86-32:
drivers/clocksource/scx200_hrt.c: In function ‘init_hrt_clocksource’:
drivers/clocksource/scx200_hrt.c:95:0: error: unterminated argument list invoking macro "pr_info"
drivers/clocksource/scx200_hrt.c:84:2: error: ‘pr_info’ undeclared (first use in this function)
It could not possibly have been build tested, because it had this mismerge:
pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n",
printk(KERN_INFO "enabling scx200 high-res timer (%s MHz +%d ppm)\n",
mhz27 ? "27":"1", ppm);
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/n/tip-jceb26fns5w7tv8edlivhxpa@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
drivers/clocksource/scx200_hrt.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/drivers/clocksource/scx200_hrt.c b/drivers/clocksource/scx200_hrt.c
index 60db8b1..64f9e82 100644
--- a/drivers/clocksource/scx200_hrt.c
+++ b/drivers/clocksource/scx200_hrt.c
@@ -81,9 +81,7 @@ static int __init init_hrt_clocksource(void)
if (mhz27)
freq *= 27;
- pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n",
- printk(KERN_INFO "enabling scx200 high-res timer (%s MHz +%d ppm)\n",
- mhz27 ? "27":"1", ppm);
+ pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n", mhz27 ? "27":"1", ppm);
return clocksource_register_hz(&cs_hrt, freq);
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [tip:timers/core] clocksource: scx200_hrt: Fix the build
2012-02-22 16:13 [tip:timers/core] clocksource: scx200_hrt: Fix the build tip-bot for Ingo Molnar
@ 2012-02-24 0:28 ` John Stultz
0 siblings, 0 replies; 2+ messages in thread
From: John Stultz @ 2012-02-24 0:28 UTC (permalink / raw)
To: mingo, hpa, linux-kernel, jim.cromie, tglx, mingo
On Wed, 2012-02-22 at 08:13 -0800, tip-bot for Ingo Molnar wrote:
> Commit-ID: 10ea9d6f5663c3ed51f91cd037b4b9b147273cbb
> Gitweb: http://git.kernel.org/tip/10ea9d6f5663c3ed51f91cd037b4b9b147273cbb
> Author: Ingo Molnar <mingo@elte.hu>
> AuthorDate: Wed, 22 Feb 2012 13:19:37 +0100
> Committer: Ingo Molnar <mingo@elte.hu>
> CommitDate: Wed, 22 Feb 2012 13:25:16 +0100
>
> clocksource: scx200_hrt: Fix the build
>
> This commit:
>
> 12d6d41276de: clocksource: scx200_hrt: Convert scx200 to use clocksource_register_hz
>
> Breaks the build on x86-32:
>
> drivers/clocksource/scx200_hrt.c: In function ‘init_hrt_clocksource’:
> drivers/clocksource/scx200_hrt.c:95:0: error: unterminated argument list invoking macro "pr_info"
> drivers/clocksource/scx200_hrt.c:84:2: error: ‘pr_info’ undeclared (first use in this function)
>
> It could not possibly have been build tested, because it had this mismerge:
>
> pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n",
> printk(KERN_INFO "enabling scx200 high-res timer (%s MHz +%d ppm)\n",
> mhz27 ? "27":"1", ppm);
Yea, looking in my git logs, that was me. Sorry about that.
Thanks for catching it and fixing it up.
-john
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-24 0:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-22 16:13 [tip:timers/core] clocksource: scx200_hrt: Fix the build tip-bot for Ingo Molnar
2012-02-24 0:28 ` John Stultz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).