Commit e72f412b authored by Scott Weir's avatar Scott Weir Committed by Greg Kroah-Hartman

staging: lustre: Fix sparse warnings for undeclared symbols

This patch fixes the sparse warnings in drivers/staging/lustre/lustre/ptlrpc/sec_lproc.c:
sec_lproc.c:58:6: warning: symbol 'sec_flags2str' was not declared. Should it be static?
Signed-off-by: default avatarScott Weir <sjw0410@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cab80d98
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
struct proc_dir_entry *sptlrpc_proc_root = NULL; struct proc_dir_entry *sptlrpc_proc_root = NULL;
EXPORT_SYMBOL(sptlrpc_proc_root); EXPORT_SYMBOL(sptlrpc_proc_root);
char *sec_flags2str(unsigned long flags, char *buf, int bufsize) static char *sec_flags2str(unsigned long flags, char *buf, int bufsize)
{ {
buf[0] = '\0'; buf[0] = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment