I have a SUSPICION (untested) as to the source of this bug.  In commit 
0fd77efbd8364d6a2625bbc4b84c1f3c26387655, the following code appears:
 static int __init
init_orinoco_cs(void)
{
+ int status;
+
printk(KERN_DEBUG "%s\n", version);
- return pcmcia_register_driver(&orinoco_driver);
+ status = pcmcia_register_driver(&orinoco_driver);
+ if (status >= 0)
+ status = pcmcia_register_driver(&orinoco_overlap_driver);
+ return status;
}

I think the (status >= 0) line should simply be (status != 0), as
status==0 SHOULD indicate a successful register of the driver with the
orinoco_driver array.  Any other value would be an error code from
bus_add_driver, driver_register, or pcmcia_register_driver.  Anyone with
more experience who can take a look at this?

-- 
2.6.22-13 freezes during boot (related somehow to orinoco_cs)
https://bugs.launchpad.net/bugs/149997
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to