Commit f5f44c6f authored by Colin Ian King's avatar Colin Ian King Committed by Martin K. Petersen

scsi: isci: fix typo in function names

There are a couple of typos in function names and spelling of request
where the letters u and e are swapped:

scu_ssp_reqeust_construct_task_context
scu_sata_reqeust_construct_task_context

Fix the spelling of request.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent eeac8cda
...@@ -213,7 +213,7 @@ static void sci_task_request_build_ssp_task_iu(struct isci_request *ireq) ...@@ -213,7 +213,7 @@ static void sci_task_request_build_ssp_task_iu(struct isci_request *ireq)
* @task_context: * @task_context:
* *
*/ */
static void scu_ssp_reqeust_construct_task_context( static void scu_ssp_request_construct_task_context(
struct isci_request *ireq, struct isci_request *ireq,
struct scu_task_context *task_context) struct scu_task_context *task_context)
{ {
...@@ -425,7 +425,7 @@ static void scu_ssp_io_request_construct_task_context(struct isci_request *ireq, ...@@ -425,7 +425,7 @@ static void scu_ssp_io_request_construct_task_context(struct isci_request *ireq,
u8 prot_type = scsi_get_prot_type(scmd); u8 prot_type = scsi_get_prot_type(scmd);
u8 prot_op = scsi_get_prot_op(scmd); u8 prot_op = scsi_get_prot_op(scmd);
scu_ssp_reqeust_construct_task_context(ireq, task_context); scu_ssp_request_construct_task_context(ireq, task_context);
task_context->ssp_command_iu_length = task_context->ssp_command_iu_length =
sizeof(struct ssp_cmd_iu) / sizeof(u32); sizeof(struct ssp_cmd_iu) / sizeof(u32);
...@@ -472,7 +472,7 @@ static void scu_ssp_task_request_construct_task_context(struct isci_request *ire ...@@ -472,7 +472,7 @@ static void scu_ssp_task_request_construct_task_context(struct isci_request *ire
{ {
struct scu_task_context *task_context = ireq->tc; struct scu_task_context *task_context = ireq->tc;
scu_ssp_reqeust_construct_task_context(ireq, task_context); scu_ssp_request_construct_task_context(ireq, task_context);
task_context->control_frame = 1; task_context->control_frame = 1;
task_context->priority = SCU_TASK_PRIORITY_HIGH; task_context->priority = SCU_TASK_PRIORITY_HIGH;
...@@ -495,7 +495,7 @@ static void scu_ssp_task_request_construct_task_context(struct isci_request *ire ...@@ -495,7 +495,7 @@ static void scu_ssp_task_request_construct_task_context(struct isci_request *ire
* the command buffer is complete. none Revisit task context construction to * the command buffer is complete. none Revisit task context construction to
* determine what is common for SSP/SMP/STP task context structures. * determine what is common for SSP/SMP/STP task context structures.
*/ */
static void scu_sata_reqeust_construct_task_context( static void scu_sata_request_construct_task_context(
struct isci_request *ireq, struct isci_request *ireq,
struct scu_task_context *task_context) struct scu_task_context *task_context)
{ {
...@@ -562,7 +562,7 @@ static void scu_stp_raw_request_construct_task_context(struct isci_request *ireq ...@@ -562,7 +562,7 @@ static void scu_stp_raw_request_construct_task_context(struct isci_request *ireq
{ {
struct scu_task_context *task_context = ireq->tc; struct scu_task_context *task_context = ireq->tc;
scu_sata_reqeust_construct_task_context(ireq, task_context); scu_sata_request_construct_task_context(ireq, task_context);
task_context->control_frame = 0; task_context->control_frame = 0;
task_context->priority = SCU_TASK_PRIORITY_NORMAL; task_context->priority = SCU_TASK_PRIORITY_NORMAL;
...@@ -613,7 +613,7 @@ static void sci_stp_optimized_request_construct(struct isci_request *ireq, ...@@ -613,7 +613,7 @@ static void sci_stp_optimized_request_construct(struct isci_request *ireq,
struct scu_task_context *task_context = ireq->tc; struct scu_task_context *task_context = ireq->tc;
/* Build the STP task context structure */ /* Build the STP task context structure */
scu_sata_reqeust_construct_task_context(ireq, task_context); scu_sata_request_construct_task_context(ireq, task_context);
/* Copy over the SGL elements */ /* Copy over the SGL elements */
sci_request_build_sgl(ireq); sci_request_build_sgl(ireq);
...@@ -1401,7 +1401,7 @@ static enum sci_status sci_stp_request_pio_data_out_transmit_data(struct isci_re ...@@ -1401,7 +1401,7 @@ static enum sci_status sci_stp_request_pio_data_out_transmit_data(struct isci_re
* @data_buffer: The buffer of data to be copied. * @data_buffer: The buffer of data to be copied.
* @length: The length of the data transfer. * @length: The length of the data transfer.
* *
* Copy the data from the buffer for the length specified to the IO reqeust SGL * Copy the data from the buffer for the length specified to the IO request SGL
* specified data region. enum sci_status * specified data region. enum sci_status
*/ */
static enum sci_status static enum sci_status
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment