diff options
author | Wentao Wang <witallwang@gmail.com> | 2019-03-20 15:30:39 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-28 00:27:48 +0900 |
commit | 3ec8002951ea173e24b466df1ea98c56b7920e63 (patch) | |
tree | 0be537f719aac640c343e159aa716f9b65eab3b4 /drivers/tty/tty_port.c | |
parent | 898a737c8a436b2fcd6dcb0b57775ada2f846a26 (diff) | |
download | linux-stable-3ec8002951ea173e24b466df1ea98c56b7920e63.tar.gz linux-stable-3ec8002951ea173e24b466df1ea98c56b7920e63.tar.bz2 linux-stable-3ec8002951ea173e24b466df1ea98c56b7920e63.zip |
Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
Echo "" to /sys/module/kgdboc/parameters/kgdboc will fail with "No such
deviceā error.
This is caused by function "configure_kgdboc" who init err to ENODEV
when the config is empty (legal input) the code go out with ENODEV
returned.
Fixes: 2dd453168643 ("kgdboc: Fix restrict error")
Signed-off-by: Wentao Wang <witallwang@gmail.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_port.c')
0 files changed, 0 insertions, 0 deletions