]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
[PATCH] fix CodingStyle in via-rhine-open-irq-free-upon-fail.patch
authorchrisw@osdl.org <chrisw@osdl.org>
Fri, 11 Mar 2005 23:24:56 +0000 (15:24 -0800)
committerGreg KH <gregkh@suse.de>
Thu, 12 May 2005 05:10:07 +0000 (22:10 -0700)
2.6.11.4/via-rhine-open-irq-free-upon-fail.patch

index 1b54f80f3262d409708d4bdf587f8456acc48cca..b66e4a7b38c8d025be42c28d30ebedeb4ea4b7de 100644 (file)
@@ -9,24 +9,23 @@ can fail with a ENOMEM return value because of possible
 pci_alloc_consistent() failures.
    
 Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
+
+Updated to CodingStyle.
+
 Signed-off-by: Chris Wright <chrisw@osdl.org>
 
-diff -Naru a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
---- a/drivers/net/via-rhine.c  2005-03-09 18:44:47 -08:00
-+++ b/drivers/net/via-rhine.c  2005-03-09 18:44:47 -08:00
-@@ -1198,7 +1198,10 @@
+===== drivers/net/via-rhine.c 1.89 vs edited =====
+--- 1.89/drivers/net/via-rhine.c       2005-01-10 08:52:27 -08:00
++++ edited/drivers/net/via-rhine.c     2005-03-11 15:18:25 -08:00
+@@ -1197,8 +1197,10 @@ static int rhine_open(struct net_device 
+                      dev->name, rp->pdev->irq);
  
        rc = alloc_ring(dev);
-       if (rc)
-+      {
+-      if (rc)
++      if (rc) {
 +              free_irq(rp->pdev->irq, dev);
                return rc;
 +      }
        alloc_rbufs(dev);
        alloc_tbufs(dev);
        rhine_chip_reset(dev);
-# 
-# drivers/net/via-rhine.c
-#   2005/02/28 07:44:31-05:00 takis@lumumba.luc.ac.be +3 -0
-#   Possible VIA-Rhine free irq issue
-#