|
@@ -867,7 +867,8 @@ static int cpqhpc_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|
*/
|
|
*/
|
|
if ((pdev->revision <= 2) && (vendor_id != PCI_VENDOR_ID_INTEL)) {
|
|
if ((pdev->revision <= 2) && (vendor_id != PCI_VENDOR_ID_INTEL)) {
|
|
err(msg_HPC_not_supported);
|
|
err(msg_HPC_not_supported);
|
|
- return -ENODEV;
|
|
|
|
|
|
+ rc = -ENODEV;
|
|
|
|
+ goto err_disable_device;
|
|
}
|
|
}
|
|
|
|
|
|
/* TODO: This code can be made to support non-Compaq or Intel
|
|
/* TODO: This code can be made to support non-Compaq or Intel
|