scsi: qlogicpti: Fix an error handling path in 'qpti_sbus_probe()'
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Thu, 10 May 2018 11:45:58 +0000 (13:45 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 May 2018 16:22:48 +0000 (12:22 -0400)
commit51b910c3c70986a5a0a84eea11cb8e904e37ba8b
tree1436329f2ed324f8122ce9606afc702be75fd350
parent10e5e37581fc5817d52ff5f8e2b3362f64eb04f4
scsi: qlogicpti: Fix an error handling path in 'qpti_sbus_probe()'

The 'free_irq()' call is not at the right place in the error handling
path.  The changed order has been introduced in commit 3d4253d9afab
("[SCSI] qlogicpti: Convert to new SBUS device framework.")

Fixes: 3d4253d9afab ("[SCSI] qlogicpti: Convert to new SBUS device framework.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qlogicpti.c