lkml.org 
[lkml]   [2003]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2.6.0-test3][ISDN] make sedlbauer.c compile
From
Date
Hi,

This patch makes drivers/isdn/hisax/sedlbauer.c compile without which
the following compilation errors are generated:

drivers/isdn/hisax/sedlbauer.c: In function `setup_sedlbauer':
drivers/isdn/hisax/sedlbauer.c:763: label `err' used but not defined


--- linux-2.6.0-test3/drivers/isdn/hisax/sedlbauer.c 2003-07-15 17:22:23.000000000 +0530
+++ linux-2.6.0-test3-nvk/drivers/isdn/hisax/sedlbauer.c 2003-08-10 14:16:19.000000000 +0530
@@ -760,7 +760,7 @@
printk(KERN_ERR "Sedlbauer PnP:some resources are missing %ld/%lx\n",
pnp_irq(pd, 0), pnp_port_start(pd, 0));
pnp_device_detach(pd);
- goto err;
+ return 0;
}
card->para[1] = pnp_port_start(pd, 0);
card->para[0] = pnp_irq(pd, 0);
@@ -777,7 +777,7 @@
}
} else {
printk(KERN_ERR "Sedlbauer PnP: PnP error card found, no device\n");
- goto err;
+ return 0;
}
}
pdev++;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.035 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site