diff mbox series

[04/74] backports: move to -std=gnu11

Message ID 20240524190906.f775c3da7b8d.Idec21530cec4c44875ff13eeee07565ab328dc1a@changeid (mailing list archive)
State New
Headers show
Series backport updates from Intel | expand

Commit Message

Johannes Berg May 24, 2024, 5:07 p.m. UTC
From: Miri Korenblit <miriam.rachel.korenblit@intel.com>

The upstream kernel moved and we want to take some patches
that take advantage of that, so also move backports.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 backport/Makefile.kernel | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel
index 11ce4177f2f7..5735421dad8c 100644
--- a/backport/Makefile.kernel
+++ b/backport/Makefile.kernel
@@ -35,6 +35,10 @@  ifeq ($(CPTCFG_KERNEL_4_3),y)
 subdir-ccflags-y += -Wno-pointer-sign
 endif
 
+# upstream moved, move the driver for a few constructions such as
+# variable declarations in for loops
+subdir-ccflags-y += -std=gnu11
+
 obj-y += compat/
 
 obj-$(CPTCFG_CFG80211) += net/wireless/