hpsa: return 0 from driver probe function on success, not 1
Subsystems (2)
PATCH 1/1 hpsa: return 0 from driver probe function on success, not 1
From: Stephen M. Cameron <[email protected]>
A return value of 1 is interpreted as an error
Signed-off-by Stephen M. Cameron <[email protected]>
--- drivers/scsi/hpsa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/hpsa.c +1 -1
@@ -4926,7 +4926,7 @@ reinit_after_soft_reset:hpsa_hba_inquiry (h);hpsa_register_scsi (h);/* hook ourselves into SCSI subsystem */ start_controller_lockup_detector (h); -return 1 ; +return 0 ; clean4:hpsa_free_sg_chain_blocks (h);