Skip to contentSkip to conversation

vt6656/aes_ccmp.c: Fix a sparse "symbol not declared" warning

PATCH New chihuanqi 1 participant 1 message Apr 17, 2014 Staging

lore
Share & tools
lore

chihuanqi

author
#0 lore raw

PATCH 1/1 vt6656/aes_ccmp.c: Fix a sparse "symbol not declared" warning

sparse complains as follows:

	drivers/staging/vt6656/aes_ccmp.c:221:6: warning: symbol 'AESbGenCCMP'

was not declared. Should it be static?
In order to suppress the warning, we include the aes_ccmp.h header file which contains an appropriate extern declaration.

---
 drivers/staging/vt6656/aes_ccmp.c |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/vt6656/aes_ccmp.c +1 -0
index e2bfa8d..a9d5168 100644
@@ -32,6 +32,7 @@
 
 #include "device.h"
 #include "80211hdr.h"
+#include "aes_ccmp.h"
 
 /*
  * SBOX Table
Signature · 1 line
1.7.10.4