mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 12:52:29 -04:00
drm/amd/display: Enable warnings as errors for KUnit tests
[WHAT] Add CONFIG_WERROR=y to .kunitconfig to treat compiler warnings as errors during KUnit builds, ensuring warnings are caught early. Assisted-by: Copilot:Claude-Opus-4.6 Reviewed-by: Ray Wu <ray.wu@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -15,6 +15,9 @@ CONFIG_I2C=y
|
||||
CONFIG_POWER_SUPPLY=y
|
||||
CONFIG_CRC16=y
|
||||
|
||||
# Treat warnings as errors
|
||||
CONFIG_WERROR=y
|
||||
|
||||
# GCOV Coverage - see tools/testing/kunit/configs/coverage_uml.config
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
|
||||
Reference in New Issue
Block a user