Home
last modified time | relevance | path

Searched hist:da9a5aa3 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dserial_core.hda9a5aa3 Tue Mar 10 12:43:37 CDT 2020 Andy Shevchenko <andriy.shevchenko@linux.intel.com> serial: core: Refactor uart_unlock_and_check_sysrq()

Refactor uart_unlock_and_check_sysrq() to:

- explicitly show that we release a port lock which makes
static analyzers happy:

CHECK drivers/tty/serial/serial_core.c
.../serial_core.c:3290:17: warning: context imbalance in 'uart_unlock_and_check_sysrq' - unexpected unlock

- use flags instead of irqflags to avoid confusion with IRQ flags

- provide one return point

- be more compact

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://lore.kernel.org/r/20200310174337.74109-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
da9a5aa3 Tue Mar 10 12:43:37 CDT 2020 Andy Shevchenko <andriy.shevchenko@linux.intel.com> serial: core: Refactor uart_unlock_and_check_sysrq()

Refactor uart_unlock_and_check_sysrq() to:

- explicitly show that we release a port lock which makes
static analyzers happy:

CHECK drivers/tty/serial/serial_core.c
.../serial_core.c:3290:17: warning: context imbalance in 'uart_unlock_and_check_sysrq' - unexpected unlock

- use flags instead of irqflags to avoid confusion with IRQ flags

- provide one return point

- be more compact

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://lore.kernel.org/r/20200310174337.74109-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/openbmc/linux/drivers/tty/serial/
H A Dserial_core.cda9a5aa3 Tue Mar 10 12:43:37 CDT 2020 Andy Shevchenko <andriy.shevchenko@linux.intel.com> serial: core: Refactor uart_unlock_and_check_sysrq()

Refactor uart_unlock_and_check_sysrq() to:

- explicitly show that we release a port lock which makes
static analyzers happy:

CHECK drivers/tty/serial/serial_core.c
.../serial_core.c:3290:17: warning: context imbalance in 'uart_unlock_and_check_sysrq' - unexpected unlock

- use flags instead of irqflags to avoid confusion with IRQ flags

- provide one return point

- be more compact

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://lore.kernel.org/r/20200310174337.74109-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
da9a5aa3 Tue Mar 10 12:43:37 CDT 2020 Andy Shevchenko <andriy.shevchenko@linux.intel.com> serial: core: Refactor uart_unlock_and_check_sysrq()

Refactor uart_unlock_and_check_sysrq() to:

- explicitly show that we release a port lock which makes
static analyzers happy:

CHECK drivers/tty/serial/serial_core.c
.../serial_core.c:3290:17: warning: context imbalance in 'uart_unlock_and_check_sysrq' - unexpected unlock

- use flags instead of irqflags to avoid confusion with IRQ flags

- provide one return point

- be more compact

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://lore.kernel.org/r/20200310174337.74109-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>