Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b88fac63 authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Jens Axboe
Browse files

cciss: return 0 from driver probe function on success, not 1



A return value of 1 is interpreted as an error

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2e44b427
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5183,7 +5183,7 @@ static int cciss_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
	rebuild_lun_table(h, 1, 0);
	cciss_engage_scsi(h);
	h->busy_initializing = 0;
	return 1;
	return 0;

clean4:
	cciss_free_cmd_pool(h);