diff mbox series

[next] video: hyperv: hyperv_fb: fix indentation issue

Message ID 20191114172720.322023-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show
Series [next] video: hyperv: hyperv_fb: fix indentation issue | expand

Commit Message

Colin King Nov. 14, 2019, 5:27 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a block of statements that are indented
too deeply, remove the extraneous tabs.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/video/fbdev/hyperv_fb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Michael Kelley (LINUX) Dec. 7, 2019, 6:45 p.m. UTC | #1
From: Colin Ian King <colin.king@canonical.com> Sent: Thursday, November 14, 2019 9:27 AM
> 
> There is a block of statements that are indented
> too deeply, remove the extraneous tabs.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/video/fbdev/hyperv_fb.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
> index 4cd27e5172a1..5fcf4bdf85ab 100644
> --- a/drivers/video/fbdev/hyperv_fb.c
> +++ b/drivers/video/fbdev/hyperv_fb.c
> @@ -582,8 +582,8 @@ static int synthvid_get_supported_resolution(struct hv_device
> *hdev)
>  	t = wait_for_completion_timeout(&par->wait, VSP_TIMEOUT);
>  	if (!t) {
>  		pr_err("Time out on waiting resolution response\n");
> -			ret = -ETIMEDOUT;
> -			goto out;
> +		ret = -ETIMEDOUT;
> +		goto out;
>  	}
> 
>  	if (msg->resolution_resp.resolution_count == 0) {
> --
> 2.20.1

Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Bartlomiej Zolnierkiewicz Jan. 15, 2020, 2:36 p.m. UTC | #2
On 11/14/19 6:27 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a block of statements that are indented
> too deeply, remove the extraneous tabs.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Patch queued for v5.6, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

> ---
>  drivers/video/fbdev/hyperv_fb.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
> index 4cd27e5172a1..5fcf4bdf85ab 100644
> --- a/drivers/video/fbdev/hyperv_fb.c
> +++ b/drivers/video/fbdev/hyperv_fb.c
> @@ -582,8 +582,8 @@ static int synthvid_get_supported_resolution(struct hv_device *hdev)
>  	t = wait_for_completion_timeout(&par->wait, VSP_TIMEOUT);
>  	if (!t) {
>  		pr_err("Time out on waiting resolution response\n");
> -			ret = -ETIMEDOUT;
> -			goto out;
> +		ret = -ETIMEDOUT;
> +		goto out;
>  	}
>  
>  	if (msg->resolution_resp.resolution_count == 0) {
>
diff mbox series

Patch

diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
index 4cd27e5172a1..5fcf4bdf85ab 100644
--- a/drivers/video/fbdev/hyperv_fb.c
+++ b/drivers/video/fbdev/hyperv_fb.c
@@ -582,8 +582,8 @@  static int synthvid_get_supported_resolution(struct hv_device *hdev)
 	t = wait_for_completion_timeout(&par->wait, VSP_TIMEOUT);
 	if (!t) {
 		pr_err("Time out on waiting resolution response\n");
-			ret = -ETIMEDOUT;
-			goto out;
+		ret = -ETIMEDOUT;
+		goto out;
 	}
 
 	if (msg->resolution_resp.resolution_count == 0) {