diff options
author | Hannes Reinecke <[email protected]> | 2016-11-18 08:32:47 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2016-11-29 11:21:48 -0500 |
commit | 1ccde7004ff66cdcbe4c8005f3bb44dda6ab0b99 (patch) | |
tree | 3399fc6f4a87bd06b740edc4a43c941aae2b9a7d | |
parent | 669f044170d8933c3d66d231b69ea97cb8447338 (diff) |
scsi: hpsa: use correct DID_NO_CONNECT hostbyte
NOT_READY is a sense key, not a legit scsi hostbyte value. Use
DID_NO_CONNECT instead.
Signed-off-by: Hannes Reinecke <[email protected]>
Acked-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/hpsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 5b1ba5861275..b9f1bab4dfb7 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -5487,7 +5487,7 @@ static int hpsa_scsi_queue_command(struct Scsi_Host *sh, struct scsi_cmnd *cmd) dev = cmd->device->hostdata; if (!dev) { - cmd->result = NOT_READY << 16; /* host byte */ + cmd->result = DID_NO_CONNECT << 16; cmd->scsi_done(cmd); return 0; } |