Re: [PATCH] clocksource: Avoid selecting mult values that mightoverflow when adjusted

From: Yong Zhang
Date: Thu Nov 03 2011 - 22:16:43 EST


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@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/