]> git.baikalelectronics.ru Git - kernel.git/commit
serial: rate limit custom-speed deprecation notice
authorJohan Hovold <johan@kernel.org>
Tue, 6 Jun 2017 10:54:33 +0000 (12:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 09:49:57 +0000 (11:49 +0200)
commit69ddfc925a55f02f3172f4bf626a8d38eb9a69a6
tree5660cdb333e57b9d2b2f31c9003f07e6b844218c
parentc6b58d7828e4f22f4f2f2691c897e294e74a54a0
serial: rate limit custom-speed deprecation notice

Contrary to what a comment claimed, the ASYNC_SPD flags and custom
divisor can be set by a non-privileged user so rate limit the
deprecation notice as was intended.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c