aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2013-10-29 15:46:06 -0400
committerJens Axboe <axboe@kernel.dk>2013-11-08 11:10:29 -0500
commitb88fac630bf71bd0af44502d6688e99a5426d438 (patch)
treea3ac6e8b0827b1681cc0def44197046e19ad5c98
parent2e44b42718ac49a397324a360df4ecab617b3fe2 (diff)
cciss: return 0 from driver probe function on success, not 1
A return value of 1 is interpreted as an error Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--drivers/block/cciss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index edfa2515bc86..0c004ac05811 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -5183,7 +5183,7 @@ reinit_after_soft_reset:
5183 rebuild_lun_table(h, 1, 0); 5183 rebuild_lun_table(h, 1, 0);
5184 cciss_engage_scsi(h); 5184 cciss_engage_scsi(h);
5185 h->busy_initializing = 0; 5185 h->busy_initializing = 0;
5186 return 1; 5186 return 0;
5187 5187
5188clean4: 5188clean4:
5189 cciss_free_cmd_pool(h); 5189 cciss_free_cmd_pool(h);