[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <158264306645.3062.14566490586309398145@skylake-alporthouse-com>
Date: Tue, 25 Feb 2020 15:04:26 +0000
From: Chris Wilson <chris@...is-wilson.co.uk>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Christian Gmeiner <christian.gmeiner@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Dave Airlie <airlied@...hat.com>,
David Airlie <airlied@...ux.ie>, Eric Anholt <eric@...olt.net>,
Gerd Hoffmann <kraxel@...hat.com>,
Hans de Goede <hdegoede@...hat.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Lucas Stach <l.stach@...gutronix.de>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Patrik Jakobsson <patrik.r.jakobsson@...il.com>,
Rob Clark <robdclark@...il.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Russell King <linux+etnaviv@...linux.org.uk>,
Sean Paul <sean@...rly.run>,
Thomas Hellstrom <thellstrom@...are.com>,
Thomas Zimmermann <tzimmermann@...e.de>,
VMware Graphics <linux-graphics-maintainer@...are.com>
Cc: "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
linux-arm-msm@...r.kernel.org, intel-gfx@...ts.freedesktop.org,
etnaviv@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, spice-devel@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org,
freedreno@...ts.freedesktop.org
Subject: Re: [PATCH][next] drm: Replace zero-length array with flexible-array member
Quoting Gustavo A. R. Silva (2020-02-25 14:03:47)
> The current codebase makes use of the zero-length array language
> extension to the C90 standard, but the preferred mechanism to declare
> variable-length types such as these ones is a flexible array member[1][2],
> introduced in C99:
I remember when gcc didn't support []. For the record, it appears
support for flexible arrays landed in gcc-3.0. So passes the minimum
compiler spec. That would be useful to mention for old farts with
forgetful memories.
-Chris
Powered by blists - more mailing lists