[RFC][PATCH 2/5] libdrm: amdgpu: Initialize unions with memset rather than "= {0}"

John Stultz john.stultz at linaro.org
Mon Apr 22 18:35:21 UTC 2019


On Mon, Apr 22, 2019 at 7:59 AM Alex Deucher <alexdeucher at gmail.com> wrote:
> On Sat, Apr 20, 2019 at 12:25 AM John Stultz <john.stultz at linaro.org> wrote:
> >
> > Clang complains when initializing unions using "= {0}"
> > so instead use memset.
> >
> > Cc: Emil Velikov <emil.velikov at collabora.com>
> > Cc: Sean Paul <seanpaul at chromium.org>
> > Cc: Alistair Strachan <astrachan at google.com>
> > Cc: Marissa Wall <marissaw at google.com>
> > Signed-off-by: John Stultz <john.stultz at linaro.org>
>
> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

Thanks for the review!

> Do you have commit rights?

I don't.

thanks again,
-john


More information about the dri-devel mailing list