Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff2bf19e authored by Fred Chou's avatar Fred Chou Committed by Greg Kroah-Hartman
Browse files

staging:lustre:lustre:ptlrpc: fix sparse warnings in lproc_ptlrpc.c



Fixed the below warning in sparse:

drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c:184:6:
warning: symbol 'ptlrpc_lprocfs_register' was not declared.
Should it be static?

Signed-off-by: default avatarFred Chou <fred.chou.nd@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 37604896
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -181,8 +181,9 @@ const char *ll_eopcode2str(__u32 opcode)
	return ll_eopcode_table[opcode].opname;
}
#if defined (CONFIG_PROC_FS)
void ptlrpc_lprocfs_register(struct proc_dir_entry *root, char *dir,
			     char *name, struct proc_dir_entry **procroot_ret,
static void ptlrpc_lprocfs_register(struct proc_dir_entry *root, char *dir,
				    char *name,
				    struct proc_dir_entry **procroot_ret,
				    struct lprocfs_stats **stats_ret)
{
	struct proc_dir_entry *svc_procroot;