On 20 May 2015 at 20:34, Arnd Bergmann <[email protected]> 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.

-- 
Baolin.wang
Best Regards
_______________________________________________
Y2038 mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/y2038

Reply via email to