Re: [PATCH] timekeeping: check params before use them

From: John Stultz
Date: Thu Mar 27 2014 - 13:26:36 EST


On 03/27/2014 01:12 AM, Neil Zhang wrote:
> Sometimes we won't need all the information from
> get_xtime_and_monotonic_and_sleep_offset(),
> so let's check the params before assign the value to them.

So I think the single in-kernel user of this function does use all of
the information.

Can you expand on how your using this and why the extra conditionals are
worth while?

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/