PATCH 1/1 - Char: nozomi, fix tty->count counting

by Jiri Slabyon 2010-07-29T09:09:47+00:00
Currently ntty-install omits to increment tty count and we get the
following warnings:
Warning: dev (noz2) tty-
So to fix that, add one tty-
Signed-off-by: Jiri Slaby
Cc: Alan Cox
diff
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Re: PATCH 1/1 - Char: nozomi, fix tty->count counting

by Jiri Slabyon 2010-07-29T09:13:52+00:00.
On 07/29/2010 11:09 AM, Jiri Slaby wrote:
BTW introduced in 266794eb7 (nozomi: Add tty-port usage) which is in
.34. So may be a stable material too...
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

PATCH 1/1 - Char: nozomi, set tty->driver_data appropriately

by Jiri Slabyon 2010-07-29T09:46:32+00:00.
Sorry, one more fix, this one depends on the other, so this is rather 2/2.
Set tty-every place where needed. Switch .open to use driver-data too.
Signed-off-by: Jiri Slaby
Cc: Alan Cox
diff static int ntty-open(struct tty-struct *tty, struct file *filp)
{
- struct port *port = get-port-by-tty(tty);
+ struct port *port = tty- return tty-port-open(&port- }
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/