All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: wilc1000: fix symbol 'WILC_DEBUG_LEVEL' was not declared.
@ 2016-09-26 15:15 Matias Mucciolo
  2016-09-26 15:37 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Matias Mucciolo @ 2016-09-26 15:15 UTC (permalink / raw)
  To: Aditya Shankar, Ganesh Krishna, Greg Kroah-Hartman
  Cc: linux-wireless, devel, linux-kernel


- Fixed a sparse warning: symbol 'WILC_DEBUG_LEVEL' was not declared.

Signed-off-by: Matias Mucciolo <mmucciolo@suteba.org.ar>
---
 drivers/staging/wilc1000/wilc_debugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c
index b052628..802bb1d 100644
--- a/drivers/staging/wilc1000/wilc_debugfs.c
+++ b/drivers/staging/wilc1000/wilc_debugfs.c
@@ -29,7 +29,7 @@ static struct dentry *wilc_dir;
 #define ERR             BIT(3)
 
 #define DBG_LEVEL_ALL	(DEBUG | INFO | WRN | ERR)
-atomic_t WILC_DEBUG_LEVEL = ATOMIC_INIT(ERR);
+static atomic_t WILC_DEBUG_LEVEL = ATOMIC_INIT(ERR);
 EXPORT_SYMBOL_GPL(WILC_DEBUG_LEVEL);
 
 /*
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-26 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-26 15:15 [PATCH] staging: wilc1000: fix symbol 'WILC_DEBUG_LEVEL' was not declared Matias Mucciolo
2016-09-26 15:37 ` Greg Kroah-Hartman
2016-09-26 15:44   ` Matias Mucciolo
2016-09-26 15:52     ` Greg Kroah-Hartman
2016-09-26 16:13       ` [PATCH] staging: wilc1000: fix sparse warning: symbol was not declared. Should it be static? Matias Mucciolo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.