summaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-08-22 10:54:08 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2016-10-21 10:19:42 +0200
commitb04bf5833e8a0d6ae4e3f7b35b30c4ab6ff7ea1b (patch)
tree7ca7337e670df9c48fe55a10525c39e957fdd04b /drivers/target/tcm_fc
parenttarget: fix potential race window in target_sess_cmd_list_waiting() (diff)
downloadlinux-b04bf5833e8a0d6ae4e3f7b35b30c4ab6ff7ea1b.tar.xz
linux-b04bf5833e8a0d6ae4e3f7b35b30c4ab6ff7ea1b.zip
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>
Diffstat (limited to 'drivers/target/tcm_fc')
-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: