From: Bhanusree Pola Date: Mon, 25 Feb 2019 15:00:51 +0000 (+0530) Subject: Staging: fwserial: Add blank line after declarations X-Git-Tag: v5.1-rc1~144^2~40 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f1a32f95865d6da6706dc00cfd693629a8a128a9;p=users%2Fjedix%2Flinux-maple.git Staging: fwserial: Add blank line after declarations Add blank line after the structure declaration, struct fwtty_port *port = tty->driver_data; Issue found using checkpatch.pl Signed-off-by: Bhanusree Pola Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c index 3e416f5bbcba..a1b90ea7fcb8 100644 --- a/drivers/staging/fwserial/fwserial.c +++ b/drivers/staging/fwserial/fwserial.c @@ -1213,6 +1213,7 @@ static int get_serial_info(struct tty_struct *tty, struct serial_struct *ss) { struct fwtty_port *port = tty->driver_data; + mutex_lock(&port->port.mutex); ss->type = PORT_UNKNOWN; ss->line = port->port.tty->index;