lkml.org 
[lkml]   [2009]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] hrtimer: correct a few numbers in comments and printk outputs
On Fri, 20 Nov 2009 20:23:39 +0100
Uwe Kleine-K__nig <u.kleine-koenig@pengutronix.de> wrote:

> @@ -52,7 +52,7 @@ int tick_dev_program_event(struct clock_event_device *dev, ktime_t expires,
> printk(KERN_WARNING
> "CE: %s increasing min_delta_ns to %lu nsec\n",
> dev->name ? dev->name : "?",
> - dev->min_delta_ns << 1);
> + dev->min_delta_ns);
>
> i = 0;
> }

This one's already in linux-next:

@@ -50,9 +50,9 @@ int tick_dev_program_event(struct clock_
dev->min_delta_ns += dev->min_delta_ns >> 1;

printk(KERN_WARNING
- "CE: %s increasing min_delta_ns to %lu nsec\n",
+ "CE: %s increasing min_delta_ns to %llu nsec\n",
dev->name ? dev->name : "?",
- dev->min_delta_ns << 1);
+ (unsigned long long) dev->min_delta_ns << 1);

i = 0;
}


\
 
 \ /
  Last update: 2009-11-24 00:31    [W:0.066 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site