projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d29f3ef
)
tty/amiserial: Add missing argument for tty_unlock()
author
Geert Uytterhoeven
<
[email protected]
>
Mon, 7 May 2012 19:36:06 +0000
(21:36 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 7 May 2012 23:46:53 +0000
(16:46 -0700)
commit
d29f3ef39be4eec0362b985305fc526d9be318cf
("tty_lock: Localise the lock")
missed that
d3a7b83f865b46bb7b5e1ed18a129ce1af349db4
("drivers/tty/amiserial.c:
add missing tty_unlock") just added a new caller of tty_unlock():
drivers/tty/amiserial.c: In function ‘set_serial_info’:
drivers/tty/amiserial.c:1077: error: too few arguments to function ‘tty_unlock’
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
Cc: Alan Cox <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/amiserial.c
patch
|
blob
|
history
diff --git
a/drivers/tty/amiserial.c
b/drivers/tty/amiserial.c
index b88a65c492403063751d01c21e89449bf9bbe2ea..35819e31262472140be9ec2dfa5210a087a43be1 100644
(file)
--- a/
drivers/tty/amiserial.c
+++ b/
drivers/tty/amiserial.c
@@
-1074,7
+1074,7
@@
static int set_serial_info(struct tty_struct *tty, struct serial_state *state,
(new_serial.xmit_fifo_size != state->xmit_fifo_size) ||
((new_serial.flags & ~ASYNC_USR_MASK) !=
(port->flags & ~ASYNC_USR_MASK))) {
- tty_unlock();
+ tty_unlock(
tty
);
return -EPERM;
}
port->flags = ((port->flags & ~ASYNC_USR_MASK) |