opnsense-src/sys/dev/drm2/i915
Dimitry Andric a0e8aab7d8 Fix build of i915kms with base gcc
Base gcc fails to compile sys/dev/drm2/i915/intel_display.c for i386,
with the following -Werror warnings:

cc1: warnings being treated as errors
/usr/src/sys/dev/drm2/i915/intel_display.c:8884: warning:
initialization from incompatible pointer type

This is due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36432, which
incorrectly interprets the [] as a flexible array member.

Because base gcc does not have a -W flag to suppress this particular
warning, it requires a rather ugly cast.  To not influence any other
compiler, put it in a #if/#endif block.

Reviewed by:	kib
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D15744
2018-06-11 08:11:35 +00:00
..
dvo.h
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
i915_debug.c
i915_dma.c
i915_drm.h
i915_drv.c These drivers have a sentinel at the end of the device list. Exclude 2017-12-23 05:32:20 +00:00
i915_drv.h
i915_gem.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
i915_gem_context.c
i915_gem_evict.c
i915_gem_execbuffer.c
i915_gem_gtt.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
i915_gem_stolen.c
i915_gem_tiling.c
i915_ioc32.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
i915_irq.c
i915_reg.h
i915_suspend.c
intel_acpi.c
intel_bios.c
intel_bios.h
intel_crt.c
intel_ddi.c
intel_display.c Fix build of i915kms with base gcc 2018-06-11 08:11:35 +00:00
intel_dp.c
intel_drv.h
intel_dvo.c
intel_fb.c
intel_hdmi.c
intel_iic.c
intel_lvds.c
intel_modes.c
intel_opregion.c
intel_overlay.c
intel_panel.c
intel_pm.c
intel_ringbuffer.c
intel_ringbuffer.h
intel_sdvo.c
intel_sdvo_regs.h
intel_sprite.c
intel_tv.c