On Mon, Nov 13, 2017 at 4:02 PM, Ville Syrjala
<[email protected]> wrote:
> From: Ville Syrjälä <[email protected]>
>
> We're currently calling ktime_to_timespec64() on stack garbage
> hence the debug output for vblank timestamps also contains garbage.
> Let's assing something to the ktime_t first before we go converting
> it to a timespec.
>
> While at it micro-optimize the ktime_to_timespec64() calls away
> when vblank debugging isn't enabled.
>
> Fixes: 67680d3c0464 ("drm: vblank: use ktime_t instead of timeval")

Acked-by: Arnd Bergmann <[email protected]>

Sorry about the mess and thanks for cleaning up behind me.

       Arnd
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to