From 60c27d8b7d35db4941f205b864f3348c2276d74e Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Sun, 26 Mar 2023 19:07:26 -0400 Subject: [PATCH] fixup! amlogic: Compile kernel modules with clang * -Wno-maybe-uninitialized isn't a thing on clang, just use -Wno-uninitialized. Change-Id: If28347a26de835d4e7f2f416e44762aa8156af31 --- 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 9dd3b0a..ab25fc5 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-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 \ diff --git a/bcmdhd.1.579.77.41.1.cn/Makefile b/bcmdhd.1.579.77.41.1.cn/Makefile index 352b9ad..8c460b4 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-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 \ diff --git a/bcmdhd.100.10.545.x/Makefile b/bcmdhd.100.10.545.x/Makefile index a3d819c..125a171 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-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 \ diff --git a/bcmdhd.101.10.240.x/Makefile b/bcmdhd.101.10.240.x/Makefile index 56557f8..58aac8d 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-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 \ diff --git a/bcmdhd.101.10.361.x/Makefile b/bcmdhd.101.10.361.x/Makefile index faf1fa5..5b23dfd 100755 --- a/bcmdhd.101.10.361.x/Makefile +++ b/bcmdhd.101.10.361.x/Makefile @@ -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 \ diff --git a/bcmdhd_1_201_59_x/Makefile b/bcmdhd_1_201_59_x/Makefile index 142fc6f..a7bf92d 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-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 \ -- 2.20.1