bnx2fc: bnx2fc_eh_abort(): fix wrong return code.
authorMaurizio Lombardi <mlombard@redhat.com>
Mon, 1 Feb 2016 15:08:45 +0000 (16:08 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit617757de4274b52761bfc9327aee6bcd5941999c
tree7e90d3a390539a19ee72956c22b76bb4f05b355f
parentd4faee084f04ce2d9d97502b3471d77e6fea9d4b
bnx2fc: bnx2fc_eh_abort(): fix wrong return code.

If the link is not ready, the bnx2fc_eh_abort() function should return
FAILED.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Ewan Milne <emilne@redhat.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_io.c