Skip to contentSkip to conversation

usbip: clean up an indentation issue

PATCH In review Colin King 2 participants 2 messages Sep 27, 2019

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 usbip: clean up an indentation issue

From: Colin Ian King <[email protected]>

There is a return statement that is indented incorrectly, fix this.

---
 drivers/usb/usbip/stub_tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/usbip/stub_tx.c +1 -1
index 36010a82b359..b1c2f6781cb3 100644
@@ -291,7 +291,7 @@ static int stub_send_ret_submit(struct stub_device *sdev)
 				kfree(iov);
 				usbip_event_add(&sdev->ud,
 						SDEV_EVENT_ERROR_TCP);
-			   return -1;
+				return -1;
 			}
 		}
 
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 3 lines · Colin King

From: Colin Ian King <[email protected]>

There is a return statement that is indented incorrectly, fix this.

Please include the warn you are fixing in the commit log

Quoted 12 lines
---
  drivers/usb/usbip/stub_tx.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/usbip/stub_tx.c +0 -0
index 36010a82b359..b1c2f6781cb3 100644

drivers/usb/usbip/stub_tx.c static int stub_send_ret_submit(struct stub_device *sdev) · line 297

Quoted 8 lines
drivers/usb/usbip/stub_tx.c +1 -1
@@ -291,7 +291,7 @@ static int stub_send_ret_submit(struct stub_device *sdev)
  				kfree(iov);
  				usbip_event_add(&sdev->ud,
  						SDEV_EVENT_ERROR_TCP);
-			   return -1;
+				return -1;
  			}
  		}
 

thanks,
-- Shuah