diff options
Diffstat (limited to 'drivers/target/loopback/tcm_loop.c')
-rw-r--r-- | drivers/target/loopback/tcm_loop.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index 7172a71f9f0b..6b3c32954689 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -168,7 +168,7 @@ static void tcm_loop_submission_work(struct work_struct *work) | |||
168 | 168 | ||
169 | rc = target_submit_cmd_map_sgls(se_cmd, tl_nexus->se_sess, sc->cmnd, | 169 | rc = target_submit_cmd_map_sgls(se_cmd, tl_nexus->se_sess, sc->cmnd, |
170 | &tl_cmd->tl_sense_buf[0], tl_cmd->sc->device->lun, | 170 | &tl_cmd->tl_sense_buf[0], tl_cmd->sc->device->lun, |
171 | transfer_length, MSG_SIMPLE_TAG, | 171 | transfer_length, TCM_SIMPLE_TAG, |
172 | sc->sc_data_direction, 0, | 172 | sc->sc_data_direction, 0, |
173 | scsi_sglist(sc), scsi_sg_count(sc), | 173 | scsi_sglist(sc), scsi_sg_count(sc), |
174 | sgl_bidi, sgl_bidi_count, | 174 | sgl_bidi, sgl_bidi_count, |
@@ -258,7 +258,7 @@ static int tcm_loop_issue_tmr(struct tcm_loop_tpg *tl_tpg, | |||
258 | * Initialize struct se_cmd descriptor from target_core_mod infrastructure | 258 | * Initialize struct se_cmd descriptor from target_core_mod infrastructure |
259 | */ | 259 | */ |
260 | transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, | 260 | transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, |
261 | DMA_NONE, MSG_SIMPLE_TAG, | 261 | DMA_NONE, TCM_SIMPLE_TAG, |
262 | &tl_cmd->tl_sense_buf[0]); | 262 | &tl_cmd->tl_sense_buf[0]); |
263 | 263 | ||
264 | rc = core_tmr_alloc_req(se_cmd, tl_tmr, tmr, GFP_KERNEL); | 264 | rc = core_tmr_alloc_req(se_cmd, tl_tmr, tmr, GFP_KERNEL); |
@@ -369,7 +369,6 @@ static struct scsi_host_template tcm_loop_driver_template = { | |||
369 | .name = "TCM_Loopback", | 369 | .name = "TCM_Loopback", |
370 | .queuecommand = tcm_loop_queuecommand, | 370 | .queuecommand = tcm_loop_queuecommand, |
371 | .change_queue_depth = scsi_change_queue_depth, | 371 | .change_queue_depth = scsi_change_queue_depth, |
372 | .change_queue_type = scsi_change_queue_type, | ||
373 | .eh_abort_handler = tcm_loop_abort_task, | 372 | .eh_abort_handler = tcm_loop_abort_task, |
374 | .eh_device_reset_handler = tcm_loop_device_reset, | 373 | .eh_device_reset_handler = tcm_loop_device_reset, |
375 | .eh_target_reset_handler = tcm_loop_target_reset, | 374 | .eh_target_reset_handler = tcm_loop_target_reset, |