Skip to content

Commit b88fac6

Browse files
Stephen M. Cameronaxboe
authored andcommitted
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>
1 parent 2e44b42 commit b88fac6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/block/cciss.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5183,7 +5183,7 @@ static int cciss_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
51835183
rebuild_lun_table(h, 1, 0);
51845184
cciss_engage_scsi(h);
51855185
h->busy_initializing = 0;
5186-
return 1;
5186+
return 0;
51875187

51885188
clean4:
51895189
cciss_free_cmd_pool(h);

0 commit comments

Comments
 (0)