Commit e059aa85 authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

[PATCH] 3c509 oops fix

If __ISAPNP__ and CONFIG_X86_PC9800 are not set, we forget to link the device
into the global chain and el3_init_module dereferences NULL.
parent 0847467e
......@@ -595,10 +595,8 @@ static int __init el3_probe(int card_idx)
#endif
el3_cards++;
#if !defined(__ISAPNP__) || defined(CONFIG_X86_PC9800)
lp->next_dev = el3_root_dev;
el3_root_dev = dev;
#endif
return 0;
out1:
......
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