>> pci_dev_put cehcks for NULL pointer itself,>did you mean checks?Yes did some typo, send v2 of the patch.Thanks----------