[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150121215324.GA20240@snb>
Date: Thu, 22 Jan 2015 05:53:24 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: "Steven Rostedt (Red Hat)" <rostedt@...dmis.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [PATCH trace] tracing: tracefs_dir_inode_operations can be static
fs/tracefs/inode.c:95:31: sparse: symbol 'tracefs_dir_inode_operations' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index 29632ce..3462360 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -92,7 +92,7 @@ static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry)
return ret;
}
-const struct inode_operations tracefs_dir_inode_operations = {
+static const struct inode_operations tracefs_dir_inode_operations = {
.lookup = simple_lookup,
.mkdir = tracefs_syscall_mkdir,
.rmdir = tracefs_syscall_rmdir,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists