projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a19d0c6
)
tty: Deprecate ldisc .chars_in_buffer() method
author
Peter Hurley
<peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:14:19 +0000
(09:14 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:43:00 +0000
(16:43 -0700)
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/n_tty.c
b/drivers/tty/n_tty.c
index 594a3c19882b1d2b7af33092111b26b35dfe9b2f..290769c67a8d2e9a611805796996a3cf5d281bbe 100644
(file)
--- a/
drivers/tty/n_tty.c
+++ b/
drivers/tty/n_tty.c
@@
-297,6
+297,7
@@
static ssize_t chars_in_buffer(struct tty_struct *tty)
static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty)
{
+ WARN_ONCE(1, "%s is deprecated and scheduled for removal.", __func__);
return chars_in_buffer(tty);
}