lkml.org 
[lkml]   [2015]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-05-12 17:21    [W:0.031 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site