Skip to content
Commit 0dca0fd2 authored by Jason Wessel's avatar Jason Wessel
Browse files

kgdboc,tty: Fix tty polling search to use name correctly



The tty_find_polling_driver() routine did not correctly check the base
part of the tty name.  This can lead to kgdboc selecting an incorrect
driver, as well as accepting a completely invalid tty such as "echo
ffff0 > /sys/module/kgdboc/parameters/kgdboc".

Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent 703a1edc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment