Re: [PATCH] drm/mipi-dbi: hide unused mipi_dbi_dcs_read_commands array

From: Luca Ceresoli

Date: Wed Nov 25 2026 - 10:45:10 EST



On Wed, 11 Nov 2026 10:23:55 +0100, Arnd Bergmann wrote:
> When -Wunused-const-variable is enabled and SPI is turned off, gcc
> warns about this array being unused but defined locally:
>
> drivers/gpu/drm/drm_mipi_dbi.c:79:17: error: 'mipi_dbi_dcs_read_commands' defined but not used [-Werror=unused-const-variable=]
> 79 | static const u8 mipi_dbi_dcs_read_commands[] = {
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]

Applied, thanks!

[1/1] drm/mipi-dbi: hide unused mipi_dbi_dcs_read_commands array
commit: 75f3faa2835c9bf588caeedabc10d5676aa01f79

Best regards,
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com