commit | c33ac89bc7d697e23ce09ddae73e0ece5f65ad48 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Sun Jun 25 05:49:01 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Jun 25 10:01:21 2006 -0700 |
tree | 4584fa3aa65ee46d3eb48f7b6b81e4af2d165d0e | |
parent | e7b69055820a221d7da29092fd553fd7cd6a97d1 [diff] |
[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: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: Jeff Garzik <jeff@garzik.org> Acked-by: Mike Miller <mike.miller@hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>