diff options
author | Johan Hovold <johan@kernel.org> | 2020-07-23 14:33:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-24 10:44:27 +0200 |
commit | ca45b5cd55d2ea2e4f2ddec1175cc9bdb5b74e07 (patch) | |
tree | f30870a135a7d0e5c3d2906a96d47317f7402000 /drivers/tty/serial/8250/8250_mtk.c | |
parent | de5b2c9d16924ad0d9e2bfd9a5da16fe6ea54f22 (diff) |
serial: msm_serial: add sparse context annotation
Add sparse context annotation to the receive handlers, which release and
reacquire the port lock, to silence sparse warnings:
drivers/tty/serial/msm_serial.c:748:25: warning: context imbalance in 'msm_handle_rx_dm' - unexpected unlock
drivers/tty/serial/msm_serial.c:814:28: warning: context imbalance in 'msm_handle_rx' - unexpected unlock
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200723123327.5843-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_mtk.c')
0 files changed, 0 insertions, 0 deletions