From: Hannes Reinecke Date: Mon, 22 Aug 2016 08:54:08 +0000 (+0200) Subject: target/tcm_fc: print command pointer in debug message X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b04bf5833e8a0d6ae4e3f7b35b30c4ab6ff7ea1b;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Nicholas Bellinger --- 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: