From 54ad59a25ad1e2ec2eb24156a899aaa8e3411376 Mon Sep 17 00:00:00 2001 From: Xiaofei Tan Date: Wed, 12 May 2021 17:26:24 +0800 Subject: tty: tty_port: Add a blank line after declarations Add a blank line after declarations, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan Link: https://lore.kernel.org/r/1620811585-18582-17-git-send-email-tanxiaofei@huawei.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/tty_port.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/tty/tty_port.c') diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c index 7557bcd84b27..189c2fa09c6d 100644 --- a/drivers/tty/tty_port.c +++ b/drivers/tty/tty_port.c @@ -688,6 +688,7 @@ int tty_port_open(struct tty_port *port, struct tty_struct *tty, clear_bit(TTY_IO_ERROR, &tty->flags); if (port->ops->activate) { int retval = port->ops->activate(port, tty); + if (retval) { mutex_unlock(&port->mutex); return retval; -- cgit v1.2.3