* [PATCH 1/5] cciss: fix call to put_controller_in_performant_mode
@ 2010-06-04 20:05 Mike Miller
0 siblings, 0 replies; only message in thread
From: Mike Miller @ 2010-06-04 20:05 UTC (permalink / raw)
To: Andrew Morton, Jens Axboe
Cc: LKML, LKML-scsi, dab, scameron, gerry.morong, mike.miller,
scott.benesh, scott.stacy.teel, tom.lawler, mikem
Patch 1 of 5
cciss: call to put_controller_in_performant_mode was in the wrong place
The call inadvertently ended up in an error path.
From: Mike Miller <mike.miller@hp.com>
Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: Stephen M. Cameron <scameron@beardog.cce.hp.com>, iss_storagedev@hp.com
---
drivers/block/cciss.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 5e215ff..cdc671c 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -4150,6 +4150,7 @@ static int __devinit cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
#ifdef CCISS_DEBUG
printk(KERN_WARNING "Trying to put board into Performant mode\n");
#endif /* CCISS_DEBUG */
+ cciss_put_controller_into_performant_mode(c);
return 0;
err_out_free_res:
@@ -4158,7 +4159,6 @@ err_out_free_res:
* Smart Array controllers that pci_enable_device does not undo
*/
pci_release_regions(pdev);
- cciss_put_controller_into_performant_mode(c);
return err;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-04 20:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-04 20:05 [PATCH 1/5] cciss: fix call to put_controller_in_performant_mode Mike Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).