summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/120-pr_fmt_warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/120-pr_fmt_warnings.patch')
-rw-r--r--package/mac80211/patches/120-pr_fmt_warnings.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/mac80211/patches/120-pr_fmt_warnings.patch b/package/mac80211/patches/120-pr_fmt_warnings.patch
index 9b69328df0..920398e501 100644
--- a/package/mac80211/patches/120-pr_fmt_warnings.patch
+++ b/package/mac80211/patches/120-pr_fmt_warnings.patch
@@ -165,3 +165,13 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/etherdevice.h>
+--- a/compat/crc8.c
++++ b/compat/crc8.c
+@@ -14,6 +14,7 @@
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
++#undef pr_fmt
+ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
+ #include <linux/module.h>