[RFC][PATCH 2/5] libdrm: amdgpu: Initialize unions with memset rather than "= {0}"
Emil Velikov
emil.l.velikov at gmail.com
Tue Apr 23 10:13:18 UTC 2019
On Sat, 20 Apr 2019 at 05:25, 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: Emil Velikov <emil.velikov at collabora.com>
-Emil
More information about the dri-devel
mailing list