Cannot compile Linux v6.4-10173-ga901a3568fd2
Hello,
I cannot compile v6.4-10173-ga901a3568fd2 on openSUSE 15.4 with gcc version 7.5.0, problem starts with this:
CC drivers/gpu/drm/i915/i915_pci.o
drivers/gpu/drm/i915/i915_pci.c:156:23: error: initialized field overwritten [-Werror=override-init]
.has_coherent_ggtt = false,
^~~~~
drivers/gpu/drm/i915/i915_pci.c:156:23: note: (near initialization for ‘i915g_info.has_coherent_ggtt’)
drivers/gpu/drm/i915/i915_pci.c:187:19: error: initialized field overwritten [-Werror=override-init]
.dma_mask_size = 36,
^~
....
Edited by Thomas Voegtle