fixup! amlogic: Compile kernel modules with clang
authorNolen Johnson <johnsonnolen@gmail.com>
Sun, 26 Mar 2023 23:07:26 +0000 (19:07 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 26 Mar 2023 23:07:27 +0000 (19:07 -0400)
* -Wno-maybe-uninitialized isn't a thing on clang, just
  use -Wno-uninitialized.

Change-Id: If28347a26de835d4e7f2f416e44762aa8156af31

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 9dd3b0ae066ca54e7cea4dafe0f659f665deff8e..ab25fc5d3a1de6b5910e47b4d876899ed9b1e5f5 100755 (executable)
@@ -14,7 +14,7 @@ export CONFIG_BCMDHD = m
 export CONFIG_BCMDHD_OOB = y
 
 DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER -DSDTEST       \
-       -Wno-maybe-uninitialized                                              \
+       -Wno-uninitialized                                                    \
        -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE            \
        -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE   \
        -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY             \
index 352b9adc9e4004f30ea039131aa7284e50e6021c..8c460b48604c32a3369688f7aa987411c93df7f8 100644 (file)
@@ -23,7 +23,7 @@ export CONFIG_BCMDHD_OOB = y
 export CONFIG_VTS_SUPPORT = y
 
 DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER                 \
-       -Wno-maybe-uninitialized                                              \
+       -Wno-uninitialized                                                    \
        -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE            \
        -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE   \
        -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY             \
index a3d819c80232244f2ee1d5f7a37dcd86a3ef7ca1..125a171b24e3cd0613e343e81bb035b9189034f4 100644 (file)
@@ -36,7 +36,7 @@ ifndef CONFIG_KASAN
 endif
 
 DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER                 \
-       -Wno-maybe-uninitialized -Werror                                      \
+       -Wno-uninitialized -Werror                                            \
        -DBCMDONGLEHOST -DBCMDMA32 -DBCMFILEIMAGE                             \
        -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE   \
        -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY             \
index 56557f8ad8f354d28b08b12e4db41d1ca3fb4338..58aac8d987ab755a80283d5c8a30015b77470805 100644 (file)
@@ -36,7 +36,7 @@ ifndef CONFIG_KASAN
 endif
 
 DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER                 \
-       -Wno-maybe-uninitialized -Werror                                      \
+       -Wno-uninitialized -Werror                                            \
        -DBCMDONGLEHOST -DBCMDMA32 -DBCMFILEIMAGE                             \
        -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE   \
        -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY             \
index faf1fa590fd333e288697574e7c3d7557eb0f4e0..5b23dfd5572bf92e6024e83a19a9a6d3496bb9d0 100755 (executable)
@@ -49,7 +49,7 @@ endif
 DHDCFLAGS = -Wall -Wstrict-prototypes -Wno-date-time                      \
        -Dlinux -DLINUX -DBCMDRIVER                                           \
        -Wno-unknown-warning-option                                           \
-       -Wno-maybe-uninitialized -Wno-error -Wno-format-security              \
+       -Wno-uninitialized -Wno-error -Wno-format-security                    \
        -Wno-implicit-fallthrough                                             \
        -DBCMDONGLEHOST -DBCMDMA32 -DBCMFILEIMAGE                             \
        -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DGET_OTP_MAC_ENABLE            \
index 142fc6f660ef86ced685b4139c4b40eff8aa9761..a7bf92da910b9631323c71cb465c5e0312980d06 100755 (executable)
@@ -9,7 +9,7 @@ export CONFIG_BCM6359 = m
 export CONFIG_BCMDHD_OOB = y
 
 DHDCFLAGS = -Wall -Wstrict-prototypes -Dlinux -DBCMDRIVER -DSDTEST       \
-       -Wno-maybe-uninitialized                                              \
+       -Wno-uninitialized                                                    \
        -DBCMDONGLEHOST -DUNRELEASEDCHIP -DBCMDMA32 -DBCMFILEIMAGE            \
        -DDHDTHREAD -DDHD_DEBUG -DSHOW_EVENTS -DBCMDBG -DGET_OTP_MAC_ENABLE   \
        -DWIFI_ACT_FRAME -DARP_OFFLOAD_SUPPORT -DSUPPORT_PM2_ONLY             \