commit 9fdb040fdcd7e4bd9f4612ed836c084a87612c63
Author: Nicolas Viéville <nicolas.vieville(a)uphf.fr>
Date: Wed Oct 6 17:32:17 2021 +0200
Fix gcc falls through warnings - reworked
wl-kmod-017_fix_gcc_fallthrough_warning.patch
wl-kmod-017_fix_gcc_fallthrough_warning.patch | 2 +-
wl-kmod.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/wl-kmod-017_fix_gcc_fallthrough_warning.patch
b/wl-kmod-017_fix_gcc_fallthrough_warning.patch
index 8bf91bd..e5f34b7 100644
--- a/wl-kmod-017_fix_gcc_fallthrough_warning.patch
+++ b/wl-kmod-017_fix_gcc_fallthrough_warning.patch
@@ -5,7 +5,7 @@ diff -Naur
hybrid-v35_64-nodebug-pcoem-6_30_223_271.orig/src/wl/sys/wl_cfg80211_
break;
case NL80211_AUTHTYPE_NETWORK_EAP:
WL_DBG(("network eap\n"));
-+ // fall through
++ __attribute__((__fallthrough__)); /* [[fallthrough]]; falls through */
default:
val = 2;
WL_ERR(("invalid auth type (%d)\n", sme->auth_type));
diff --git a/wl-kmod.spec b/wl-kmod.spec
index 85490e1..18dc0f1 100644
--- a/wl-kmod.spec
+++ b/wl-kmod.spec
@@ -10,7 +10,7 @@
Name: wl-kmod
Version: 6.30.223.271
-Release: 38%{?dist}
+Release: 39%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -287,6 +287,9 @@ chmod 0755
$RPM_BUILD_ROOT%{kmodinstdir_prefix}*%{kmodinstdir_postfix}/* || :
rm -rf $RPM_BUILD_ROOT
%changelog
+* Sun Oct 03 2021 Nicolas Viéville <nicolas.vieville(a)uphf.fr> - 6.30.223.271-39
+- Fix gcc falls through warnings - reworked
wl-kmod-017_fix_gcc_fallthrough_warning.patch
+
* Wed Aug 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
6.30.223.271-38
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild