History

Merge tag 'tty-4.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty

Pull tty fix from Greg KH: "Here is a single tty core fix for 4.12-rc4. It reverts a patch that a lot of people reported as causing lockdep and other warnings. Right after I reverted this in my tree, it seems like another "correct" fix might have shown up, but it's too late in the release cycle to be messing with tty core locking, so let's just revert this for now to go back how things always have been and try it again for 4.13. This has not been in linux-next as I only reverted it a few hours ago" * tag 'tty-4.12-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: Revert "tty: fix port buffer locking"

Linus Torvalds committed 9 years ago

Commit 3c06e6c2 parents e00811b fc098af1 file · +0 −2Browse files

Unified · Split

drivers/tty/tty_port.c+0−2
@@ -34,9 +34,7 @@ static int tty_port_default_receive_buf(struct tty_port *port, · 33 unmodified lines
34 if (!disc)34 if (!disc)
35 return 0;35 return 0;
36 36
37 mutex_lock(&tty->atomic_write_lock);
38 ret = tty_ldisc_receive_buf(disc, p, (char *)f, count);37 ret = tty_ldisc_receive_buf(disc, p, (char *)f, count);
39 mutex_unlock(&tty->atomic_write_lock);
40 38
41 tty_ldisc_deref(disc);39 tty_ldisc_deref(disc);
42 40

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t