summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2013-10-29 13:46:06 -0600
committerJens Axboe <axboe@kernel.dk>2013-11-08 09:10:29 -0700
commitb88fac630bf71bd0af44502d6688e99a5426d438 (patch)
treea3ac6e8b0827b1681cc0def44197046e19ad5c98 /drivers/block
parent2e44b42718ac49a397324a360df4ecab617b3fe2 (diff)
downloadlinux-b88fac630bf71bd0af44502d6688e99a5426d438.tar.bz2
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>
Diffstat (limited to 'drivers/block')
-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:
rebuild_lun_table(h, 1, 0);
cciss_engage_scsi(h);
h->busy_initializing = 0;
- return 1;
+ return 0;
clean4:
cciss_free_cmd_pool(h);