projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43417ae
)
generic: 5.15: enable Werror by default for kernel compile
author
Christian Marangi
<ansuelsmth@gmail.com>
Fri, 5 May 2023 23:49:14 +0000
(
01:49
+0200)
committer
Christian Marangi
<ansuelsmth@gmail.com>
Fri, 12 May 2023 01:15:32 +0000
(
03:15
+0200)
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>
target/linux/generic/config-5.15
patch
|
blob
|
history
diff --git
a/target/linux/generic/config-5.15
b/target/linux/generic/config-5.15
index aa1f6a5e35bfcd3d4f469ab46d1c9b00739d724b..4c35281b54063929428f23ef9592dac1db6f1eb2 100644
(file)
--- 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