Patchwork gianfar: Fix misleading indentation in startup_gfar()

login
register
mail settings
Submitter Anton Vorontsov
Date Jan. 18, 2011, 12:36 p.m.
Message ID <20110118123602.GA26997@oksana.dev.rtsoft.ru>
Download mbox | patch
Permalink /patch/79296/
State Accepted
Delegated to: David Miller
Headers show

Comments

Anton Vorontsov - Jan. 18, 2011, 12:36 p.m.
Just stumbled upon the issue while looking for another bug.

The code looks correct, the indentation is not.

Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
---
 drivers/net/gianfar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Jan. 19, 2011, 12:16 a.m.
From: Anton Vorontsov <cbouatmailru@gmail.com>
Date: Tue, 18 Jan 2011 15:36:02 +0300

> Just stumbled upon the issue while looking for another bug.
> 
> The code looks correct, the indentation is not.
> 
> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 119aa20..5ed8f9f 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1920,7 +1920,7 @@  int startup_gfar(struct net_device *ndev)
 		if (err) {
 			for (j = 0; j < i; j++)
 				free_grp_irqs(&priv->gfargrp[j]);
-				goto irq_fail;
+			goto irq_fail;
 		}
 	}