projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24cb233
)
tty: fix routine name in ptmx_open()
author
Hiroshi Shimamoto
<h-shimamoto@ct.jp.nec.com>
Wed, 30 Apr 2008 07:54:20 +0000
(
00:54
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:48 +0000
(08:29 -0700)
At ptmx_open(), the 2nd parameter for check_tty_count() should
be "ptmx_open".
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_io.c
b/drivers/char/tty_io.c
index f69fb8d7a680223d56679e7637365c3369713b87..ddfa529936e8a80a42b0b6259ba6d3a330eb5531 100644
(file)
--- a/
drivers/char/tty_io.c
+++ b/
drivers/char/tty_io.c
@@
-2842,7
+2842,7
@@
static int ptmx_open(struct inode *inode, struct file *filp)
if (devpts_pty_new(tty->link))
goto out1;
- check_tty_count(tty, "
tty
_open");
+ check_tty_count(tty, "
ptmx
_open");
retval = ptm_driver->ops->open(tty, filp);
if (!retval)
return 0;