aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-06 01:49:14 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-12 03:15:32 +0200
commitb2d1eb717b6597e0145c98fc5f9f88a7dc219513 (patch)
treedea263e33a0870c629e849a3cfad9f1ec5bb228c /target
parent43417aef846c76f30183c436055afc7d10b8b690 (diff)
downloadupstream-b2d1eb717b6597e0145c98fc5f9f88a7dc219513.tar.gz
upstream-b2d1eb717b6597e0145c98fc5f9f88a7dc219513.tar.bz2
upstream-b2d1eb717b6597e0145c98fc5f9f88a7dc219513.zip
generic: 5.15: enable Werror by default for kernel compile
From 5.15 and up linux kernel introduced CONFIG_WERROR to flag any warning as error. To improve code quality, enable this by default to catch any warning and fix it. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/config-5.152
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15
index aa1f6a5e35..4c35281b54 100644
--- a/target/linux/generic/config-5.15
+++ b/target/linux/generic/config-5.15
@@ -7467,7 +7467,7 @@ CONFIG_WATCHDOG_OPEN_TIMEOUT=0
# CONFIG_WD80x3 is not set
# CONFIG_WDAT_WDT is not set
# CONFIG_WDTPCI is not set
-# CONFIG_WERROR is not set
+CONFIG_WERROR=y
# CONFIG_WEXT_CORE is not set
# CONFIG_WEXT_PRIV is not set
# CONFIG_WEXT_PROC is not set