diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2006-06-25 05:49:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:21 -0700 |
commit | c33ac89bc7d697e23ce09ddae73e0ece5f65ad48 (patch) | |
tree | 4584fa3aa65ee46d3eb48f7b6b81e4af2d165d0e /drivers/block/cciss.h | |
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>
Diffstat (limited to 'drivers/block/cciss.h')
0 files changed, 0 insertions, 0 deletions