Skip to contentSkip to conversation

wifi: cfg80211: Explicitly include <linux/export.h> in michael-mic.c

PATCH New Eric Biggers 1 participant 1 message Apr 9 802.11 (including cfg80211/NL80211)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: cfg80211: Explicitly include <linux/export.h> in michael-mic.c

This happened to be included transitively via a long chain starting with <linux/bitops.h>, but it's less fragile to include it explicitly.

---
 net/wireless/michael-mic.c | 1 +
 1 file changed, 1 insertion(+)
net/wireless/michael-mic.c +1 -0
index 50cdb67f0503d..ec5164756e0a1 100644
@@ -3,10 +3,11 @@
  * Michael MIC implementation - optimized for TKIP MIC operations
  * Copyright 2002-2003, Instant802 Networks, Inc.
  */
 #include <linux/types.h>
 #include <linux/bitops.h>
+#include <linux/export.h>
 #include <linux/ieee80211.h>
 #include <linux/unaligned.h>
 
 struct michael_mic_ctx {
 	u32 l, r;

base-commit: 929298742bb5dfacd53ea99cf989cc81210f90a3

Signature · 1 line
2.53.0