linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] afs: Make symbol 'afs_cell_gc_delay' static
@ 2018-03-26  6:47 Wei Yongjun
  0 siblings, 0 replies; only message in thread
From: Wei Yongjun @ 2018-03-26  6:47 UTC (permalink / raw)
  To: David Howells; +Cc: Wei Yongjun, linux-afs, linux-kernel, kernel-janitors

Fixes the following sparse warnings:

fs/afs/cell.c:21:24: warning:
 symbol 'afs_cell_gc_delay' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 fs/afs/cell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/afs/cell.c b/fs/afs/cell.c
index 3d2c5e0..c17e03b 100644
--- a/fs/afs/cell.c
+++ b/fs/afs/cell.c
@@ -18,7 +18,7 @@
 #include <keys/rxrpc-type.h>
 #include "internal.h"
 
-unsigned __read_mostly afs_cell_gc_delay = 10;
+static unsigned __read_mostly afs_cell_gc_delay = 10;
 
 static void afs_manage_cell(struct work_struct *);

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

only message in thread, other threads:[~2018-03-26  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-26  6:47 [PATCH -next] afs: Make symbol 'afs_cell_gc_delay' static Wei Yongjun

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).