On 20 May 2015 at 20:34, Arnd Bergmann arnd@linaro.org wrote:
On Tuesday 19 May 2015 20:50:02 Baolin Wang wrote:
+static inline void jiffies_to_timespec(const unsigned long jiffies,
struct timespec *value)+{
struct timespec64 *ts;*ts = timespec_to_timespec64(*value);jiffies_to_timespec64(jiffies, ts);+}
You are dereferencing an uninitialized pointer here. Did you compile-test this? You should have seen a warning from gcc.
Arnd
Sorry to miss that, I'll fix that asap, thanks.