All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: lustre: mark a variable static in workitem.c
@ 2014-04-04  8:22 Mike Sampson
  2014-04-04 11:11 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Sampson @ 2014-04-04  8:22 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Peng Tao, Masanari Iida, Andreas Dilger, Kees Cook, devel,
	linux-kernel, trivial, mike

next-20140403: This fixes a sparse warning:
warning: symbol 'cfs_wi_data' was not declared. Should it be static?

Signed-off-by: Mike Sampson <mike@sambodata.com>

---
 drivers/staging/lustre/lustre/libcfs/workitem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/libcfs/workitem.c b/drivers/staging/lustre/lustre/libcfs/workitem.c
index ba16fd5..0a03bf7 100644
--- a/drivers/staging/lustre/lustre/libcfs/workitem.c
+++ b/drivers/staging/lustre/lustre/libcfs/workitem.c
@@ -75,7 +75,7 @@ typedef struct cfs_wi_sched {
 	char			ws_name[CFS_WS_NAME_LEN];
 } cfs_wi_sched_t;
 
-struct cfs_workitem_data {
+static struct cfs_workitem_data {
 	/** serialize */
 	spinlock_t		wi_glock;
 	/** list of all schedulers */
-- 
1.9.1


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

end of thread, other threads:[~2014-04-04 11:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-04  8:22 [PATCH] Staging: lustre: mark a variable static in workitem.c Mike Sampson
2014-04-04 11:11 ` Dan Carpenter

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.