summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2013-10-29 20:46:06 +0100
committerJens Axboe <axboe@kernel.dk>2013-11-08 17:10:29 +0100
commitb88fac630bf71bd0af44502d6688e99a5426d438 (patch)
treea3ac6e8b0827b1681cc0def44197046e19ad5c98 /drivers/block/cciss.c
parentskd: Replaced custom debug PRINTKs with pr_debug (diff)
downloadlinux-b88fac630bf71bd0af44502d6688e99a5426d438.tar.xz
linux-b88fac630bf71bd0af44502d6688e99a5426d438.zip
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/cciss.c')
-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);