diff options
author | Petri Gynther <pgynther@google.com> | 2021-03-08 16:21:18 -0800 |
---|---|---|
committer | Petri Gynther <pgynther@google.com> | 2021-03-08 17:45:45 -0800 |
commit | 1b79d6513d715576ce065222b19f8ac19c5a3651 (patch) | |
tree | d2ac418332772363c6f5e3f36751887c1a5400b1 | |
parent | cb1dc0fa90eb12ff8694cebb91098fb3d51e81c7 (diff) | |
download | bcm43752-1b79d6513d715576ce065222b19f8ac19c5a3651.tar.gz |
bcmdhd43752: fix for clang 12.0.3
Bug: 181819234
Signed-off-by: Petri Gynther <pgynther@google.com>
Change-Id: Id263e1da07b44834c386f9b7e07126a549d4f109
-rw-r--r-- | dhd_pno.c | 2 | ||||
-rwxr-xr-x | wl_cfgscan.c | 2 |
2 files changed, 0 insertions, 4 deletions
@@ -3081,8 +3081,6 @@ _dhd_pno_get_for_batch(dhd_pub_t *dhd, char *buf, int bufsize, int reason) STATIC_ASSERT(sizeof(wl_pfn_net_info_v1_t) == sizeof(wl_pfn_net_info_v2_t)); STATIC_ASSERT(sizeof(wl_pfn_lnet_info_v1_t) == sizeof(wl_pfn_lnet_info_v2_t)); STATIC_ASSERT(sizeof(wl_pfn_subnet_info_v1_t) == sizeof(wl_pfn_subnet_info_v2_t)); - STATIC_ASSERT(OFFSETOF(wl_pfn_subnet_info_v1_t, SSID) == - OFFSETOF(wl_pfn_subnet_info_v2_t, u.SSID)); DHD_PNO(("%s enter\n", __FUNCTION__)); _pno_state = PNO_GET_PNOSTATE(dhd); diff --git a/wl_cfgscan.c b/wl_cfgscan.c index b3d78f8..c4022a8 100755 --- a/wl_cfgscan.c +++ b/wl_cfgscan.c @@ -3847,8 +3847,6 @@ wl_notify_sched_scan_results(struct bcm_cfg80211 *cfg, struct net_device *ndev, STATIC_ASSERT(sizeof(wl_pfn_net_info_v1_t) == sizeof(wl_pfn_net_info_v2_t)); STATIC_ASSERT(sizeof(wl_pfn_lnet_info_v1_t) == sizeof(wl_pfn_lnet_info_v2_t)); STATIC_ASSERT(sizeof(wl_pfn_subnet_info_v1_t) == sizeof(wl_pfn_subnet_info_v2_t)); - STATIC_ASSERT(OFFSETOF(wl_pfn_subnet_info_v1_t, SSID) == - OFFSETOF(wl_pfn_subnet_info_v2_t, u.SSID)); /* Extract the version-specific items */ if (pfn_result_v1->version == PFN_SCANRESULT_VERSION_V1) { |