lkml.org 
[lkml]   [2011]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] clocksource: Avoid selecting mult values that might overflow when adjusted
On Thu, Nov 03, 2011 at 05:36:49PM +0800, Américo Wang wrote:
> On Thu, Nov 3, 2011 at 11:10 AM, Yong Zhang <yong.zhang0@gmail.com> wrote:
> > On Wed, Nov 02, 2011 at 01:01:27PM -0700, John Stultz wrote:
> >> +     WARN_ONCE(timekeeper.mult+adj >
> >> +                     timekeeper.clock->mult + timekeeper.clock->maxadj,
> >> +                     "Adjusting more then 11%%");
> >
> >                        s/then/than ; s/%%/%\n ?
>
> % A '%' is written. No argument is converted. The
> complete conversion specification is '%%'.

Oh, thanks for pointing it out. But my point is just we need '\n' in
the end.

Thanks,
Yong
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-11-04 03:19    [W:0.062 / U:5.228 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site