* [PATCH] reiserfs: do not initialise statics to NULL
@ 2016-06-07 1:58 Wei Tang
0 siblings, 0 replies; only message in thread
From: Wei Tang @ 2016-06-07 1:58 UTC (permalink / raw)
To: roland, oleg; +Cc: viro, dmonakhov, reiserfs-devel, linux-kernel, Wei Tang
This patch fixes the checkpatch.pl error to procfs.c:
ERROR:INITIALISED_STATIC: do not initialise statics to NULL
Signed-off-by: Wei Tang <tangwei@cmss.chinamobile.com>
---
fs/reiserfs/procfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/reiserfs/procfs.c b/fs/reiserfs/procfs.c
index fe99915..22882e6 100644
--- a/fs/reiserfs/procfs.c
+++ b/fs/reiserfs/procfs.c
@@ -402,7 +402,7 @@ static const struct file_operations r_file_operations = {
.release = single_release,
};
-static struct proc_dir_entry *proc_info_root = NULL;
+static struct proc_dir_entry *proc_info_root;
static const char proc_info_root_name[] = "fs/reiserfs";
static void add_file(struct super_block *sb, char *name,
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-07 2:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07 1:58 [PATCH] reiserfs: do not initialise statics to NULL Wei Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).