On 12 May 2015 at 22:51, Thomas Gleixner tglx@linutronix.de wrote:
On Mon, 11 May 2015, Baolin Wang wrote:
+static int default_clock_set64(const clockid_t which_clock,
const struct timespec64 *tp64)
+{
struct k_clock *kc = clockid_to_kclock(which_clock);
struct timespec tp;
kc->clock_set(which_clock, &tp);
So you set the clock from an unitialized variable.....
Thanks,
tglx
Hi Thomas,
I have send out the new patch to fix these default functions. And sorry for in another email for reordering the patch. I'll avoid that situation in the future. Thanks for your comments.