Path: csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod From: Wei Tang Newsgroups: linux.kernel Subject: [PATCH] reiserfs: do not initialise statics to NULL Date: Tue, 07 Jun 2016 04:10:01 +0200 Message-ID: X-Greylist: delayed 581 seconds by postgrey-1.27 at vger.kernel.org; Mon, 06 Jun 2016 22:08:38 EDT X-Richmail-Antispam: sCL2rVi0borhSzeOjpYxWEmrxqxSIjpgsIL2jVqxeZIR0RM= X-Rm-Spam-Flag: 00000000 X-Rm-Transid: 2eff57562a5c117-6bf9f X-Mailer: git-send-email 1.9.1 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 24 Organization: linux.* mail to news gateway X-Original-Cc: viro@zeniv.linux.org.uk, dmonakhov@openvz.org, reiserfs-devel@vger.kernel.org, linux-kernel@vger.kernel.org, Wei Tang X-Original-Date: Tue, 7 Jun 2016 09:58:31 +0800 X-Original-Message-ID: <1465264711-14554-1-git-send-email-tangwei@cmss.chinamobile.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1415624 This patch fixes the checkpatch.pl error to procfs.c: ERROR:INITIALISED_STATIC: do not initialise statics to NULL Signed-off-by: Wei Tang --- 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