diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-02-19 10:50:21 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-04-07 04:48:45 -0400 |
commit | 03abad9e8715563ab3eef9609ba4d16b32bfd22d (patch) | |
tree | ac2ec0b13342b754eef2cf08150f53f9106f0a63 | |
parent | 8085176fd9f62122aea094075d98177dac92b928 (diff) |
Target/sbc: add debug print
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/target/target_core_sbc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/target/target_core_sbc.c b/drivers/target/target_core_sbc.c index 11d69745c9b4..62daef5c0c8f 100644 --- a/drivers/target/target_core_sbc.c +++ b/drivers/target/target_core_sbc.c | |||
@@ -661,6 +661,9 @@ sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char *cdb, | |||
661 | 661 | ||
662 | cmd->prot_type = dev->dev_attrib.pi_prot_type; | 662 | cmd->prot_type = dev->dev_attrib.pi_prot_type; |
663 | cmd->prot_length = dev->prot_length * sectors; | 663 | cmd->prot_length = dev->prot_length * sectors; |
664 | pr_debug("%s: prot_type=%d, prot_length=%d prot_op=%d prot_checks=%d\n", | ||
665 | __func__, cmd->prot_type, cmd->prot_length, | ||
666 | cmd->prot_op, cmd->prot_checks); | ||
664 | 667 | ||
665 | return true; | 668 | return true; |
666 | } | 669 | } |