From: Satish Kharat <satishkh@cisco.com>
The the scsi_cmnd error code is expected to be in the left 16 bits
of the result field. Change is to correct this.
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Orabug:
22918200
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
#define DRV_NAME "fnic"
#define DRV_DESCRIPTION "Cisco FCoE HBA Driver"
-#define DRV_VERSION "1.6.0.22"
+#define DRV_VERSION "1.6.0.24"
#define PFX DRV_NAME ": "
#define DFX DRV_NAME "%d: "
FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
"returning DID_NO_CONNECT for IO as rport is removed\n");
atomic64_inc(&fnic_stats->misc_stats.rport_not_ready);
- sc->result = DID_NO_CONNECT;
+ sc->result = DID_NO_CONNECT<<16;
done(sc);
return 0;
}