mirror of https://gitee.com/openkylin/linux.git
sierra: Fix formatting
Andrew Morton wrote: in drivers/usb/serial/sierra.c: } else { if (urb->actual_length) { + tty = tty_port_tty_get(&port->port); tty_buffer_request_room(tty, urb->actual_length); it's missing a tab. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
835aa440f1
commit
d95186d1f4
|
@ -442,7 +442,7 @@ static void sierra_indat_callback(struct urb *urb)
|
|||
" endpoint %02x.", __func__, status, endpoint);
|
||||
} else {
|
||||
if (urb->actual_length) {
|
||||
tty = tty_port_tty_get(&port->port);
|
||||
tty = tty_port_tty_get(&port->port);
|
||||
tty_buffer_request_room(tty, urb->actual_length);
|
||||
tty_insert_flip_string(tty, data, urb->actual_length);
|
||||
tty_flip_buffer_push(tty);
|
||||
|
|
Loading…
Reference in New Issue