Messages in this thread | | | Date | Tue, 12 May 2015 16:51:48 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH v3 09/22] posix-timers:Convert to the 64bit methods for the clock_settime syscall function |
| |
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
| |