target/tcm_fc: print command pointer in debug message
authorHannes Reinecke <hare@suse.de>
Mon, 22 Aug 2016 08:54:08 +0000 (10:54 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 21 Oct 2016 08:19:42 +0000 (01:19 -0700)
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>
drivers/target/tcm_fc/tfc_cmd.c

index 216e18cc9133d6709b25168610e98552b96d2647..36f08644250c2d5d69ccaf7a52228fd6913ab6f6 100644 (file)
@@ -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: