mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
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: Fred Chou <fred.chou.nd@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3760489623
commit
ff2bf19e8d
1 changed files with 4 additions and 3 deletions
|
|
@ -181,9 +181,10 @@ 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,
|
||||
struct lprocfs_stats **stats_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;
|
||||
struct lprocfs_stats *svc_stats;
|
||||
|
|
|
|||
Loading…
Reference in a new issue