From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756055AbbBCPPW (ORCPT ); Tue, 3 Feb 2015 10:15:22 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:52206 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755980AbbBCPPT (ORCPT ); Tue, 3 Feb 2015 10:15:19 -0500 From: Mohammad Jamal To: oleg.drokin@intel.com, andreas.dilger@intel.com, gregkh@linuxfoundation.org Cc: HPDD-discuss@ml01.01.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Mohammad Jamal Subject: [PATCH] staging: lustre: lustre: lmv: fix sparse warnings related to static declarations Date: Tue, 3 Feb 2015 20:45:02 +0530 Message-Id: <1422976502-15251-1-git-send-email-md.jamalmohiuddin@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes the sparse warnings present in the lproc_lmv.c Signed-off-by: Mohammad Jamal --- drivers/staging/lustre/lustre/lmv/lproc_lmv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lustre/lmv/lproc_lmv.c b/drivers/staging/lustre/lustre/lmv/lproc_lmv.c index 5be4176..804476b 100644 --- a/drivers/staging/lustre/lustre/lmv/lproc_lmv.c +++ b/drivers/staging/lustre/lustre/lmv/lproc_lmv.c @@ -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; -- 1.7.9.5