[PATCH v7 20/22] drm/tests: edid: Add __maybe_unused attribute to EDID definitions
Maxime Ripard
mripard at kernel.org
Tue Feb 10 08:00:05 PST 2026
Hi,
On Wed, Jan 21, 2026 at 03:45:27PM +0100, Nicolas Frattaroli wrote:
> It's normal for a test suite to need an EDID, but not all EDIDs across
> every test. Silence compiler warnings caused by unused definitions by
> using the appropriate attribute.
>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
It's not clear to me when the EDIDs could be compiled but the tests
wouldn't, and as far as I know it's all part of the same module.
Expanding a bit on how you can trigger that warning would be great.
With that fixed,
Reviewed-by: Maxime Ripard <mripard at kernel.org>
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20260210/d026ac1b/attachment-0001.sig>
More information about the Linux-rockchip
mailing list