linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vt6656/aes_ccmp.c: Fix a sparse "symbol not declared" warning
@ 2014-04-17  9:03 chihuanqi
  0 siblings, 0 replies; only message in thread
From: chihuanqi @ 2014-04-17  9:03 UTC (permalink / raw)
  To: forest, gregkh, nandu.hgowda, valentina.manea.m, lisa, himangi774
  Cc: devel, linux-kernel, huanqi chi

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.

Signed-off-by: huanqi chi <chihuanqi@gmail.com>
---
 drivers/staging/vt6656/aes_ccmp.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/vt6656/aes_ccmp.c b/drivers/staging/vt6656/aes_ccmp.c
index e2bfa8d..a9d5168 100644
--- a/drivers/staging/vt6656/aes_ccmp.c
+++ b/drivers/staging/vt6656/aes_ccmp.c
@@ -32,6 +32,7 @@
 
 #include "device.h"
 #include "80211hdr.h"
+#include "aes_ccmp.h"
 
 /*
  * SBOX Table
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-17  9:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-17  9:03 [PATCH] vt6656/aes_ccmp.c: Fix a sparse "symbol not declared" warning chihuanqi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).