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, 21 Jun 2016 17:44:44 +0100
From:	Ben Dooks <ben.dooks@...ethink.co.uk>
To:	linux-kernel@...ts.codethink.co.uk
Cc:	Ben Dooks <ben.dooks@...ethink.co.uk>, linux-kernel@...r.kernel.org
Subject: [PATCH] proc: proc_tty.c should include internal.h

The proc_tty_init() is defined in proc_tty.c, but has no declaration
as the file does not include internal.h where the declaration is.

Fix the following sparse error by including internal.h:

linux/fs/proc/proc_tty.c:175:13: warning: symbol 'proc_tty_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
---
Cc: linux-kernel@...r.kernel.org
---
 fs/proc/proc_tty.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/proc/proc_tty.c b/fs/proc/proc_tty.c
index 15f327b..f4cfa50 100644
--- a/fs/proc/proc_tty.c
+++ b/fs/proc/proc_tty.c
@@ -15,6 +15,8 @@
 #include <linux/seq_file.h>
 #include <linux/bitops.h>
 
+#include "internal.h"
+
 /*
  * The /proc/tty directory inodes...
  */
-- 
2.8.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ