mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
scsi: qla4xxx: Fix typos in comments
Fix several spelling mistakes in qla4xxx driver comments: "Unfortunely" -> "Unfortunately" "becase" -> "because" "funcions" -> "functions" "targer_id" -> "target_id" Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
b69ffeaa0a
commit
987da233b2
|
|
@ -4104,7 +4104,7 @@ void qla4xxx_srb_compl(struct kref *ref)
|
|||
* The mid-level driver tries to ensure that queuecommand never gets
|
||||
* invoked concurrently with itself or the interrupt handler (although
|
||||
* the interrupt handler may call this routine as part of request-
|
||||
* completion handling). Unfortunely, it sometimes calls the scheduler
|
||||
* completion handling). Unfortunately, it sometimes calls the scheduler
|
||||
* in interrupt context which is a big NO! NO!.
|
||||
**/
|
||||
static int qla4xxx_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd)
|
||||
|
|
@ -4647,7 +4647,7 @@ static int qla4xxx_cmd_wait(struct scsi_qla_host *ha)
|
|||
cmd = scsi_host_find_tag(ha->host, index);
|
||||
/*
|
||||
* We cannot just check if the index is valid,
|
||||
* becase if we are run from the scsi eh, then
|
||||
* because if we are run from the scsi eh, then
|
||||
* the scsi/block layer is going to prevent
|
||||
* the tag from being released.
|
||||
*/
|
||||
|
|
@ -4952,7 +4952,7 @@ static int qla4xxx_recover_adapter(struct scsi_qla_host *ha)
|
|||
/* Upon successful firmware/chip reset, re-initialize the adapter */
|
||||
if (status == QLA_SUCCESS) {
|
||||
/* For ISP-4xxx, force function 1 to always initialize
|
||||
* before function 3 to prevent both funcions from
|
||||
* before function 3 to prevent both functions from
|
||||
* stepping on top of the other */
|
||||
if (is_qla40XX(ha) && (ha->mac_index == 3))
|
||||
ssleep(6);
|
||||
|
|
@ -6912,7 +6912,7 @@ static int qla4xxx_sess_conn_setup(struct scsi_qla_host *ha,
|
|||
struct ddb_entry *ddb_entry = NULL;
|
||||
|
||||
/* Create session object, with INVALID_ENTRY,
|
||||
* the targer_id would get set when we issue the login
|
||||
* the target_id would get set when we issue the login
|
||||
*/
|
||||
cls_sess = iscsi_session_setup(&qla4xxx_iscsi_transport, ha->host,
|
||||
cmds_max, sizeof(struct ddb_entry),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user