commit | 6098c3005d5a39c39331ca6c3d9fa7525247166c | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Wed Jan 13 10:04:58 2021 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Fri Jan 22 21:14:12 2021 -0500 |
tree | eeaea74500c7dcde47826a39c335c3d88b87cd30 | |
parent | ecc751b27a575e2939767b8bf11b05924f442dd2 [diff] |
scsi: qla2xxx: fc_remote_port_chkready() returns a SCSI result value fc_remote_port_chkready() returns a SCSI result value, not the port status. Fix the value returned when the remote port isn't set. Link: https://lore.kernel.org/r/20210113090500.129644-34-hare@suse.de Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>