From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Use an empty {} as the terminator in intel_device_match[] to avoid the warning about missing initlizers. Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> --- src/intel_module.c | 2 +- src/meson.build | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/intel_module.c b/src/intel_module.c index 171b20d83d33..a71c2e40b774 100644 --- a/src/intel_module.c +++ b/src/intel_module.c @@ -388,7 +388,7 @@ static const struct pci_id_match intel_device_match[] = { INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info), #endif - { 0, 0, 0 }, + {}, }; void diff --git a/src/meson.build b/src/meson.build index 0a46e233a94c..1125c65b73be 100644 --- a/src/meson.build +++ b/src/meson.build @@ -150,7 +150,6 @@ shared_module('intel_drv', '-DMAJOR_IN_SYSMACROS', '-Wno-unused-parameter', '-Wno-sign-compare', - '-Wno-missing-field-initializers', ], name_prefix : '', install_dir : join_paths(moduledir, 'drivers'), -- 2.21.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx