]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] CCISS: disable device when returning failure
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Sun, 25 Jun 2006 12:49:01 +0000 (05:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:21 +0000 (10:01 -0700)
commitef858b4d2815e9df52083cb583da560124a537dd
tree4584fa3aa65ee46d3eb48f7b6b81e4af2d165d0e
parent9dd69c747433901a629529320ec74d39c9b8de1b
[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>
drivers/block/cciss.c