diff options
author | Johan Hovold <johan@kernel.org> | 2020-07-23 15:33:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-24 11:44:27 +0300 |
commit | ca45b5cd55d2ea2e4f2ddec1175cc9bdb5b74e07 (patch) | |
tree | f30870a135a7d0e5c3d2906a96d47317f7402000 /drivers/tty/serial/serial-tegra.c | |
parent | de5b2c9d16924ad0d9e2bfd9a5da16fe6ea54f22 (diff) | |
download | linux-ca45b5cd55d2ea2e4f2ddec1175cc9bdb5b74e07.tar.xz |
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/serial-tegra.c')
0 files changed, 0 insertions, 0 deletions