Commit e524d3b6 authored by Linus Torvalds's avatar Linus Torvalds

Get rid of endless loop in PnP-enabled ne.c

parent 9b2ea4ae
...@@ -208,6 +208,7 @@ static int __init ne_probe_isapnp(struct net_device *dev) ...@@ -208,6 +208,7 @@ static int __init ne_probe_isapnp(struct net_device *dev)
if (pnp_activate_dev(idev, NULL) < 0) { if (pnp_activate_dev(idev, NULL) < 0) {
__again: __again:
pnp_device_detach(idev); pnp_device_detach(idev);
continue;
} }
/* if no io and irq, search for next */ /* if no io and irq, search for next */
if (!pnp_port_valid(idev, 0) || !pnp_irq_valid(idev, 0)) if (!pnp_port_valid(idev, 0) || !pnp_irq_valid(idev, 0))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment