--- linux-2.6.19-rc6-mm2/drivers/ata/sata_nv.c 2006-12-11 22:13:26.000000000 -0600 +++ linux-2.6.19-rc6-mm2admafix/drivers/ata/sata_nv.c 2006-12-11 22:15:58.000000000 -0600 @@ -1555,8 +1555,8 @@ static void nv_remove_one (struct pci_de struct ata_host *host = dev_get_drvdata(&pdev->dev); struct nv_host_priv *hpriv = host->private_data; - kfree(hpriv); ata_pci_remove_one(pdev); + kfree(hpriv); } static int nv_pci_device_resume(struct pci_dev *pdev)