mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 15:15:28 -04:00
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: Scott Weir <sjw0410@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cab80d98f5
commit
e72f412b74
@@ -55,7 +55,7 @@
|
||||
struct proc_dir_entry *sptlrpc_proc_root = NULL;
|
||||
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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user