diff mbox series

usbip: clean up an indentation issue

Message ID 20190927092000.19373-1-colin.king@canonical.com (mailing list archive)
State Mainlined
Commit faf4b0dcea31f28979b5cde706d3e5d7b4ad840d
Headers show
Series usbip: clean up an indentation issue | expand

Commit Message

Colin King Sept. 27, 2019, 9:20 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/usb/usbip/stub_tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Shuah Sept. 27, 2019, 4:05 p.m. UTC | #1
On 9/27/19 3:20 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a return statement that is indented incorrectly, fix this.

Please include the warn you are fixing in the commit log
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   drivers/usb/usbip/stub_tx.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
> index 36010a82b359..b1c2f6781cb3 100644
> --- a/drivers/usb/usbip/stub_tx.c
> +++ b/drivers/usb/usbip/stub_tx.c
> @@ -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
diff mbox series

Patch

diff --git a/drivers/usb/usbip/stub_tx.c b/drivers/usb/usbip/stub_tx.c
index 36010a82b359..b1c2f6781cb3 100644
--- a/drivers/usb/usbip/stub_tx.c
+++ b/drivers/usb/usbip/stub_tx.c
@@ -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;
 			}
 		}