projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8085176
)
Target/sbc: add debug print
author
Sagi Grimberg
<sagig@mellanox.com>
Wed, 19 Feb 2014 15:50:21 +0000
(17:50 +0200)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Mon, 7 Apr 2014 08:48:45 +0000
(
01:48
-0700)
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_sbc.c
b/drivers/target/target_core_sbc.c
index 11d69745c9b4e0e2360f3b429deb31e208f0d7be..62daef5c0c8f18b6552a9e01216d09514e563716 100644
(file)
--- 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,
cmd->prot_type = dev->dev_attrib.pi_prot_type;
cmd->prot_length = dev->prot_length * sectors;
+ pr_debug("%s: prot_type=%d, prot_length=%d prot_op=%d prot_checks=%d\n",
+ __func__, cmd->prot_type, cmd->prot_length,
+ cmd->prot_op, cmd->prot_checks);
return true;
}