[PATCH] CCISS: disable device when returning failure
If something fails after we call pci_enable_device(), we should call pci_disable_device() before returning the failure. Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: NJeff Garzik <jeff@garzik.org> Acked-by: NMike Miller <mike.miller@hp.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
Showing
想要评论请 注册 或 登录