From: Arve Hjønnevåg Date: Tue, 22 Nov 2011 23:28:27 +0000 (-0800) Subject: Fix "time: Catch invalid timespec sleep values in __timekeeping_inject_sleeptime... X-Git-Tag: firefly_0821_release~7613^2~219 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=452d440ab295475afb04dee90879f5fb70254659;p=firefly-linux-kernel-4.4.55.git Fix "time: Catch invalid timespec sleep values in __timekeeping_inject_sleeptime" to compile on 3.0 Change-Id: I1225f279cda04dedbfb7f853f6b58f1032bd6d2b --- diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 9d09777a213f..fa58ec6d3bc3 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -605,7 +605,7 @@ static struct timespec timekeeping_suspend_time; static void __timekeeping_inject_sleeptime(struct timespec *delta) { if (!timespec_valid(delta)) { - printk(KERN_WARN "__timekeeping_inject_sleeptime: Invalid " + printk(KERN_WARNING "__timekeeping_inject_sleeptime: Invalid " "sleep delta value!\n"); return; }