[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1505121650420.4225@nanos>
Date: Tue, 12 May 2015 16:51:48 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Baolin Wang <baolin.wang@...aro.org>
cc: arnd@...db.de, linux-kernel@...r.kernel.org, y2038@...ts.linaro.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists