staging: lustre: lustre: lmv: fix sparse warnings related to static declarations
PATCH 1/1 staging: lustre: lustre: lmv: fix sparse warnings related to static declarations
This patch removes the sparse warnings present in the lproc_lmv.c
Signed-off-by Mohammad Jamal <[email protected]>
--- drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/lmv/lproc_lmv.c +2 -2
@@ -215,7 +215,7 @@ static struct lprocfs_vars lprocfs_lmv_module_vars[] = { { NULL } }; -struct file_operations lmv_proc_target_fops = { +static struct file_operations lmv_proc_target_fops = { .owner =THIS_MODULE , .open = lmv_target_seq_open, .read = seq_read,
@@ -223,7 +223,7 @@ struct file_operations lmv_proc_target_fops = { .release = seq_release, }; -void lprocfs_lmv_init_vars (struct lprocfs_static_vars *lvars) +static void lprocfs_lmv_init_vars (struct lprocfs_static_vars *lvars) { lvars->module_vars = lprocfs_lmv_module_vars; lvars->obd_vars = lprocfs_lmv_obd_vars;
Signature · 1 line
1.7.9.5
Greg KH
maintainerQuoted 1 line · Mohammad Jamal
This patch removes the sparse warnings present in the
lproc_lmv.c
What "sparse warnings"? Please be specific.