[PATCH 04/74] backports: move to -std=gnu11
Johannes Berg <[email protected]> Fri, 24 May 2024 19:07:16 +0200
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <20240524190906.f775c3da7b8d.Idec21530cec4c44875ff13eeee07565ab328dc1a@changeid> |
From: Miri Korenblit <[email protected]> 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 <[email protected]> Signed-off-by: Johannes Berg <[email protected]> --- backport/Makefile.kernel | 4 ++++ 1 file changed, 4 insertions(+) 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/ -- 2.45.1