On Tue, Jun 24, 2025 at 10:02:41AM -0500, Ian Forbes wrote: > On Mon, Jun 23, 2025 at 5:35 PM Colin Ian King <colin.i.k...@gmail.com> wrote: > > > > The assignment to ts is missing on the call to ktime_to_timespec64. > > Fix this by adding the missing assignment. > > > > Fixes: db6a94b26354 ("drm/vmwgfx: Implement dma_fence_ops properly") > > Signed-off-by: Colin Ian King <colin.i.k...@gmail.com> > > Was this caught by a compiler warning? I'm surprised I didn't get some > sort of warning for this. >
We've disabled uninitialized variable warnings in GCC. Perhaps Clang would have caught this but I'm not sure because tracking uninitialized struct members is a bit more complicated than tracking uninitialized variables. regards, dan carpenter