Skip to content
Snippets Groups Projects
Commit 0e0fd7d7 authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds
Browse files

tty: moxa, fix refcounting in moxa_poll_port


There is missing tty_kref_put on some paths in moxa_poll_port,
although the reference is always taken. Fix it.

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Reported-by: default avatarJan 'Yenya' Kasprzak <kas@fi.muni.cz>
Signed-off-by: default avatarAlan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bbb8e6bf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment