Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1415624 > unrolled thread

[PATCH] reiserfs: do not initialise statics to NULL

Started byWei Tang <tangwei@cmss.chinamobile.com>
First post2016-06-07 04:10 +0200
Last post2016-06-07 04:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] reiserfs: do not initialise statics to NULL Wei Tang <tangwei@cmss.chinamobile.com> - 2016-06-07 04:10 +0200

#1415624 — [PATCH] reiserfs: do not initialise statics to NULL

FromWei Tang <tangwei@cmss.chinamobile.com>
Date2016-06-07 04:10 +0200
Subject[PATCH] reiserfs: do not initialise statics to NULL
Message-ID<rHeCR-4O2-3@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web