Checker is not happy about locking. Fix it here. This also prepares code for runtime PM enabling (which will look much cleaner). In v2: - instead of playing with checker attributes move code from macros to their callers Andy Shevchenko (2): serial: core: make static analyzer happy about locks serial: core: don't check port twice in a row drivers/tty/serial/serial_core.c | 93 ++++++++++++++++++++++++---------------- 1 file changed, 56 insertions(+), 37 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html