]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
serial: core: Use tty->index for port # in debug messages
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Jan 2016 04:23:57 +0000 (20:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 22:17:42 +0000 (14:17 -0800)
commit39b3d8929f3d2104772046977ba0781eaf032df4
tree5853fe3507eb733d96b5b5201bec8220876a99de
parent3abe8c7671a53f2243d1279a1017d3f4483d34c4
serial: core: Use tty->index for port # in debug messages

The uart port may have already been removed by uart_remove_one_port();
use equivalent tty->index (which is always valid in these contexts)
instead.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c