lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue,  7 Jun 2016 09:58:31 +0800
From:	Wei Tang <tangwei@...s.chinamobile.com>
To:	roland@...k.frob.com, oleg@...hat.com
Cc:	viro@...iv.linux.org.uk, dmonakhov@...nvz.org,
	reiserfs-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
	Wei Tang <tangwei@...s.chinamobile.com>
Subject: [PATCH] reiserfs: do not initialise statics to NULL

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@...s.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ