All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: lustre: Make struct mdc_kuc_fops static
@ 2015-04-18 13:20 Dzmitry Sledneu
  0 siblings, 0 replies; only message in thread
From: Dzmitry Sledneu @ 2015-04-18 13:20 UTC (permalink / raw)
  To: linux-kernel, gregkh

This patch fixes the following Sparse warning:
"symbol 'mdc_kuc_fops' was not declared. Should it be static?".

Signed-off-by: Dzmitry Sledneu <dzmitry.sledneu@gmail.com>

---
 drivers/staging/lustre/lustre/mdc/lproc_mdc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lustre/mdc/lproc_mdc.c b/drivers/staging/lustre/lustre/mdc/lproc_mdc.c
index acfe08e..b41e50e 100644
--- a/drivers/staging/lustre/lustre/mdc/lproc_mdc.c
+++ b/drivers/staging/lustre/lustre/mdc/lproc_mdc.c
@@ -147,7 +147,7 @@ static ssize_t mdc_kuc_write(struct file *file,
 	return count;
 }
 
-struct file_operations mdc_kuc_fops = {
+static struct file_operations mdc_kuc_fops = {
 	.open		= mdc_kuc_open,
 	.write		= mdc_kuc_write,
 	.release	= single_release,
-- 
2.3.5

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-18 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-18 13:20 [PATCH] staging: lustre: Make struct mdc_kuc_fops static Dzmitry Sledneu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.