From ece9e04b654fcf7f4d2abc1c50a568c386f89afc Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 20 Oct 2023 15:15:33 +0100 Subject: [PATCH] bcmdhd: Ignore unused-but-set-variable compilation errors Change-Id: I7aad8530bad769b0283981ccb94e24c30740b750 --- bcmdhd.1.363.59.144.x.cn/Makefile | 2 +- bcmdhd.1.579.77.41.1.cn/Makefile | 2 +- bcmdhd.100.10.545.x/Makefile | 2 +- bcmdhd.101.10.240.x/Makefile | 2 +- bcmdhd.101.10.361.x/Makefile | 2 +- bcmdhd_1_201_59_x/Makefile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bcmdhd.1.363.59.144.x.cn/Makefile b/bcmdhd.1.363.59.144.x.cn/Makefile index ab25fc5..97c830d 100755 --- a/bcmdhd.1.363.59.144.x.cn/Makefile +++ b/bcmdhd.1.363.59.144.x.cn/Makefile @@ -14,7 +14,7 @@ export CONFIG_BCMDHD = m export CONFIG_BCMDHD_OOB = y DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER -DSDTEST \ - -Wno-uninitialized \ + -Wno-uninitialized -Wno-unused-but-set-variable \ -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE \ -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE \ -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY \ diff --git a/bcmdhd.1.579.77.41.1.cn/Makefile b/bcmdhd.1.579.77.41.1.cn/Makefile index 8c460b4..7345500 100644 --- a/bcmdhd.1.579.77.41.1.cn/Makefile +++ b/bcmdhd.1.579.77.41.1.cn/Makefile @@ -23,7 +23,7 @@ export CONFIG_BCMDHD_OOB = y export CONFIG_VTS_SUPPORT = y DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER \ - -Wno-uninitialized \ + -Wno-uninitialized -Wno-unused-but-set-variable \ -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE \ -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE \ -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY \ diff --git a/bcmdhd.100.10.545.x/Makefile b/bcmdhd.100.10.545.x/Makefile index 125a171..581970f 100644 --- a/bcmdhd.100.10.545.x/Makefile +++ b/bcmdhd.100.10.545.x/Makefile @@ -36,7 +36,7 @@ ifndef CONFIG_KASAN endif DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER \ - -Wno-uninitialized -Werror \ + -Wno-uninitialized -Wno-unused-but-set-variable -Werror \ -DBCMDONGLEHOST -DBCMDMA32 -DBCMFILEIMAGE \ -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE \ -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY \ diff --git a/bcmdhd.101.10.240.x/Makefile b/bcmdhd.101.10.240.x/Makefile index 58aac8d..cc7e8b5 100644 --- a/bcmdhd.101.10.240.x/Makefile +++ b/bcmdhd.101.10.240.x/Makefile @@ -36,7 +36,7 @@ ifndef CONFIG_KASAN endif DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER \ - -Wno-uninitialized -Werror \ + -Wno-uninitialized -Wno-unused-but-set-variable -Werror \ -DBCMDONGLEHOST -DBCMDMA32 -DBCMFILEIMAGE \ -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE \ -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY \ diff --git a/bcmdhd.101.10.361.x/Makefile b/bcmdhd.101.10.361.x/Makefile index 5b23dfd..a89ede5 100755 --- a/bcmdhd.101.10.361.x/Makefile +++ b/bcmdhd.101.10.361.x/Makefile @@ -48,7 +48,7 @@ endif DHDCFLAGS = -Wall -Wstrict-prototypes -Wno-date-time \ -Dlinux -DLINUX -DBCMDRIVER \ - -Wno-unknown-warning-option \ + -Wno-unknown-warning-option -Wno-unused-but-set-variable \ -Wno-uninitialized -Wno-error -Wno-format-security \ -Wno-implicit-fallthrough \ -DBCMDONGLEHOST -DBCMDMA32 -DBCMFILEIMAGE \ diff --git a/bcmdhd_1_201_59_x/Makefile b/bcmdhd_1_201_59_x/Makefile index a7bf92d..ffab351 100755 --- a/bcmdhd_1_201_59_x/Makefile +++ b/bcmdhd_1_201_59_x/Makefile @@ -9,7 +9,7 @@ export CONFIG_BCM6359 = m export CONFIG_BCMDHD_OOB = y DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER -DSDTEST \ - -Wno-uninitialized \ + -Wno-uninitialized -Wno-unused-but-set-variable \ -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE \ -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE \ -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY \ -- 2.20.1