I am pretty sure it was NULL deref. I can double check again, but have to waitNo. It didn't help. I had to hack "slot_nr = 0" all the time to boot my machine.+ if (slot->bus->self)
+ slot_nr = PCI_SLOT(slot->bus->self->devfn);
+ else
+ slot_nr = 0;
+ retval = pci_hp_register(php_slot, slot->bus, slot_nr);
if (retval) {
err("pci_hp_register failed with error %d\n", retval);
return retval;
It didn't help because you're still getting a NULL deref? Or are
you seeing some other failure mode?