aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/target/target_core_pr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/target/target_core_pr.c b/drivers/target/target_core_pr.c
index f776368d727a..c797e79dc5c1 100644
--- a/drivers/target/target_core_pr.c
+++ b/drivers/target/target_core_pr.c
@@ -2151,8 +2151,8 @@ core_scsi3_emulate_pro_register(struct se_cmd *cmd, u64 res_key, u64 sa_res_key,
2151 } 2151 }
2152 2152
2153 if (spec_i_pt) { 2153 if (spec_i_pt) {
2154 pr_err("SPC-3 PR UNREGISTER: SPEC_I_PT" 2154 pr_err("SPC-3 PR REGISTER: SPEC_I_PT"
2155 " set while sa_res_key=0\n"); 2155 " set on a registered nexus\n");
2156 ret = TCM_INVALID_PARAMETER_LIST; 2156 ret = TCM_INVALID_PARAMETER_LIST;
2157 goto out_put_pr_reg; 2157 goto out_put_pr_reg;
2158 } 2158 }
@@ -2161,8 +2161,8 @@ core_scsi3_emulate_pro_register(struct se_cmd *cmd, u64 res_key, u64 sa_res_key,
2161 * An existing ALL_TG_PT=1 registration being released 2161 * An existing ALL_TG_PT=1 registration being released
2162 * must also set ALL_TG_PT=1 in the incoming PROUT. 2162 * must also set ALL_TG_PT=1 in the incoming PROUT.
2163 */ 2163 */
2164 if (pr_reg->pr_reg_all_tg_pt && !(all_tg_pt)) { 2164 if (pr_reg->pr_reg_all_tg_pt && !all_tg_pt) {
2165 pr_err("SPC-3 PR UNREGISTER: ALL_TG_PT=1" 2165 pr_err("SPC-3 PR REGISTER: ALL_TG_PT=1"
2166 " registration exists, but ALL_TG_PT=1 bit not" 2166 " registration exists, but ALL_TG_PT=1 bit not"
2167 " present in received PROUT\n"); 2167 " present in received PROUT\n");
2168 ret = TCM_INVALID_CDB_FIELD; 2168 ret = TCM_INVALID_CDB_FIELD;