Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: serqt_usb2: fix space coding style issue in serqt_usb2.c

This is a patch to the serqt_usb2.c files that fixed space error and
warning found by the checkpatch.pl tools.

Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Ruslan Pisarev and committed by
Greg Kroah-Hartman
1695eb36 cb73da25

+13 -13
+13 -13
drivers/staging/serqt_usb2/serqt_usb2.c
··· 413 413 414 414 case 0x01: 415 415 /* Modem status status change 4th byte must follow */ 416 - dbg("Modem status status. \n"); 416 + dbg("Modem status status.\n"); 417 417 if (i > (RxCount - 4)) { 418 418 dbg("Illegal escape sequences in received data\n"); 419 419 break; ··· 424 424 flag = 1; 425 425 break; 426 426 case 0xff: 427 - dbg("No status sequence. \n"); 427 + dbg("No status sequence.\n"); 428 428 429 429 if (tty) { 430 430 ProcessRxChar(tty, port, data[i]); ··· 738 738 if (!qt_port) { 739 739 dbg("%s: kmalloc for quatech_port (%d) failed!.", 740 740 __func__, i); 741 - for(--i; i >= 0; i--) { 741 + for (--i; i >= 0; i--) { 742 742 port = serial->port[i]; 743 743 kfree(usb_get_serial_port_data(port)); 744 744 usb_set_serial_port_data(port, NULL); ··· 963 963 964 964 } 965 965 966 - dbg("port number is %d \n", port->number); 967 - dbg("serial number is %d \n", port->serial->minor); 968 - dbg("Bulkin endpoint is %d \n", port->bulk_in_endpointAddress); 969 - dbg("BulkOut endpoint is %d \n", port->bulk_out_endpointAddress); 970 - dbg("Interrupt endpoint is %d \n", port->interrupt_in_endpointAddress); 966 + dbg("port number is %d\n", port->number); 967 + dbg("serial number is %d\n", port->serial->minor); 968 + dbg("Bulkin endpoint is %d\n", port->bulk_in_endpointAddress); 969 + dbg("BulkOut endpoint is %d\n", port->bulk_out_endpointAddress); 970 + dbg("Interrupt endpoint is %d\n", port->interrupt_in_endpointAddress); 971 971 dbg("port's number in the device is %d\n", quatech_port->port_num); 972 972 quatech_port->read_urb = port->read_urb; 973 973 ··· 1470 1470 int retval = -ENODEV; 1471 1471 unsigned long flags; 1472 1472 1473 - dbg("In %s \n", __func__); 1473 + dbg("In %s\n", __func__); 1474 1474 1475 1475 if (!serial) 1476 1476 return -ENODEV; ··· 1496 1496 unsigned long flags; 1497 1497 int retval = -ENODEV; 1498 1498 1499 - dbg("In %s \n", __func__); 1499 + dbg("In %s\n", __func__); 1500 1500 1501 1501 if (!serial) 1502 1502 return -ENODEV; 1503 1503 1504 1504 spin_lock_irqsave(&qt_port->lock, flags); 1505 1505 1506 - dbg("%s - port %d \n", __func__, port->number); 1506 + dbg("%s - port %d\n", __func__, port->number); 1507 1507 dbg("%s - qt_port->RxHolding = %d\n", __func__, qt_port->RxHolding); 1508 1508 1509 1509 retval = qt_real_tiocmset(tty, port, file, serial, set); ··· 1584 1584 { 1585 1585 int num_ports; 1586 1586 1587 - dbg("numberofendpoints: %d \n", 1587 + dbg("numberofendpoints: %d\n", 1588 1588 (int)serial->interface->cur_altsetting->desc.bNumEndpoints); 1589 - dbg("numberofendpoints: %d \n", 1589 + dbg("numberofendpoints: %d\n", 1590 1590 (int)serial->interface->altsetting->desc.bNumEndpoints); 1591 1591 1592 1592 num_ports =