diff options
author | Christoph Hellwig <hch@infradead.org> | 2014-11-24 07:07:25 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-12-04 09:58:33 +0100 |
commit | 68d81f40047cc4f99e86807e1160fb07a7b856c7 (patch) | |
tree | a1d260df122f4dd9c2830832e4b09b6075ee1323 /drivers/target/target_core_spc.c | |
parent | 4e484896ac8b1877097770bc630802d5535e8d46 (diff) | |
download | op-kernel-dev-68d81f40047cc4f99e86807e1160fb07a7b856c7.zip op-kernel-dev-68d81f40047cc4f99e86807e1160fb07a7b856c7.tar.gz |
scsi: remove MSG_*_TAG defines
For SPI drivers use the message definitions from scsi.h, and for target
drivers introduce a new TCM_*_TAG namespace.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com
Diffstat (limited to 'drivers/target/target_core_spc.c')
-rw-r--r-- | drivers/target/target_core_spc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/target_core_spc.c b/drivers/target/target_core_spc.c index bc286a6..1307600 100644 --- a/drivers/target/target_core_spc.c +++ b/drivers/target/target_core_spc.c @@ -1357,7 +1357,7 @@ spc_parse_cdb(struct se_cmd *cmd, unsigned int *size) * Do implicit HEAD_OF_QUEUE processing for INQUIRY. * See spc4r17 section 5.3 */ - cmd->sam_task_attr = MSG_HEAD_TAG; + cmd->sam_task_attr = TCM_HEAD_TAG; cmd->execute_cmd = spc_emulate_inquiry; break; case SECURITY_PROTOCOL_IN: @@ -1391,7 +1391,7 @@ spc_parse_cdb(struct se_cmd *cmd, unsigned int *size) * Do implicit HEAD_OF_QUEUE processing for REPORT_LUNS * See spc4r17 section 5.3 */ - cmd->sam_task_attr = MSG_HEAD_TAG; + cmd->sam_task_attr = TCM_HEAD_TAG; break; case TEST_UNIT_READY: cmd->execute_cmd = spc_emulate_testunitready; |