bcmdhd: Ignore unused-but-set-variable compilation errors
authorBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 14:15:33 +0000 (15:15 +0100)
committerBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 14:16:29 +0000 (15:16 +0100)
Change-Id: I7aad8530bad769b0283981ccb94e24c30740b750

bcmdhd.1.363.59.144.x.cn/Makefile
bcmdhd.1.579.77.41.1.cn/Makefile
bcmdhd.100.10.545.x/Makefile
bcmdhd.101.10.240.x/Makefile
bcmdhd.101.10.361.x/Makefile
bcmdhd_1_201_59_x/Makefile

index ab25fc5d3a1de6b5910e47b4d876899ed9b1e5f5..97c830dc7d46e8aaf9fdea73c06ae2b3d06c1bae 100755 (executable)
@@ -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             \
index 8c460b48604c32a3369688f7aa987411c93df7f8..7345500ed6809d3a43ca8d696a72a9e5c40e1afd 100644 (file)
@@ -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             \
index 125a171b24e3cd0613e343e81bb035b9189034f4..581970f470486a6edf1f884fbcfc325c2fe3d7d4 100644 (file)
@@ -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             \
index 58aac8d987ab755a80283d5c8a30015b77470805..cc7e8b572e0b64f8aa5326f9b64343ddb444f425 100644 (file)
@@ -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             \
index 5b23dfd5572bf92e6024e83a19a9a6d3496bb9d0..a89ede585d313c3dde751260140ea0c839263c2d 100755 (executable)
@@ -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                             \
index a7bf92da910b9631323c71cb465c5e0312980d06..ffab351bf55cfac71a3cc21f57f7b02f8ecaf0fb 100755 (executable)
@@ -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             \