Re: [PATCH 4/5] ntp.c code flow clenaups (from Ingo)

From: John Stultz
Date: Sat Mar 15 2008 - 01:05:25 EST



On Sat, 2008-03-15 at 05:52 +0100, Roman Zippel wrote:
> Hi,
>
> On Fri, 14 Mar 2008, john stultz wrote:
>
> > +static inline void process_adjtimex_adj_offset(struct timex *txc, long sec)
>
> Somewhat ugly name...

Oh, that's a mis-merge. Thanks for catching it. The name should have
been: process_adjtimex_modes().

process_adjtimex_adj_offset was basically the same as your
ntp_update_offset() function, so I killed it but grabbed the wrong
function name.

> From an userspace perspective it's the core of ntp_adjtime(), so I'd
> prefer something close to that.

does process_adjtimex_modes(), or ntp_process_adjtimex_modes work for
you?

thanks
-john


--
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/