Re: [PATCH 1/2] drm/i915: Work around GCC anonymous union initialization bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Imre Deak (2017-08-14 16:15:29)
> GCC 4.4 can't cope with anonymous union initializers which seems to be a
> bug in that version (see the Reference) and is fixed since GCC version
> 4.6. A workaround which is also used elsewhere in the kernel for the
> same purpose is to wrap the initialization in curly braces, so do the
> same here.
> 
> Fixes: b5565a2efc12 ("drm/i915/bxt, glk: Give a proper name to the power well struct phy field")
> Reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
> Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> Cc: Arkadiusz Hiler <arkadiusz.hiler@xxxxxxxxx>
> Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx>

Still waiting for when gcc-4.4 is dropped,
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux