Compile the drm subsystem with warnings as errors

configname: CONFIG_DRM_WERROR

Linux Kernel Configuration
└─>Device Drivers
└─>Graphics support
└─>Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
└─>Compile the drm subsystem with warnings as errors
In linux kernel since version 4.19.318 (release Date: 2024-07-18)  
A kernel build should not cause any compiler warnings, and this
enables the '-Werror' flag to enforce that rule in the drm subsystem.

The drm subsystem enables more warnings than the kernel default, so
this config option is disabled by default.

If in doubt, say N.

depends
CONFIG_DRM
CONFIG_EXPERT
CONFIG_HAS_IOMEM
NOT CONFIG_WERROR