OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3b88d
)
tty: tty_vhangup_session can be static
author
Changlong Xie
<changlongx.xie@intel.com>
Wed, 20 Mar 2013 00:42:04 +0000
(08:42 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 21:07:34 +0000
(14:07 -0700)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_io.c
b/drivers/tty/tty_io.c
index
6afca98
..
cbf5a50
100644
(file)
--- a/
drivers/tty/tty_io.c
+++ b/
drivers/tty/tty_io.c
@@
-777,7
+777,7
@@
void tty_vhangup_self(void)
* is complete. That guarantee is necessary for security reasons.
*/
-void tty_vhangup_session(struct tty_struct *tty)
+
static
void tty_vhangup_session(struct tty_struct *tty)
{
#ifdef TTY_DEBUG_HANGUP
char buf[64];