summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-08-22 11:54:08 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2016-10-21 11:19:42 +0300
commitb04bf5833e8a0d6ae4e3f7b35b30c4ab6ff7ea1b (patch)
tree7ca7337e670df9c48fe55a10525c39e957fdd04b
parent1b4c59b7a1d0b9d8019254a5f2e35b2663f49a9e (diff)
downloadlinux-b04bf5833e8a0d6ae4e3f7b35b30c4ab6ff7ea1b.tar.xz
target/tcm_fc: print command pointer in debug message
When allocating a new command we should add the pointer to the debug statements; that allows us to match this with other debug statements for handling data. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r--drivers/target/tcm_fc/tfc_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c
index 216e18cc9133..36f08644250c 100644
--- a/drivers/target/tcm_fc/tfc_cmd.c
+++ b/drivers/target/tcm_fc/tfc_cmd.c
@@ -575,7 +575,7 @@ static void ft_send_work(struct work_struct *work)
TARGET_SCF_ACK_KREF))
goto err;
- pr_debug("r_ctl %x alloc target_submit_cmd\n", fh->fh_r_ctl);
+ pr_debug("r_ctl %x target_submit_cmd %p\n", fh->fh_r_ctl, cmd);
return;
err: