Skip to content

Commit

Permalink
target/tcm_fc: print command pointer in debug message
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
  • Loading branch information
hreinecke authored and Nicholas Bellinger committed Oct 21, 2016
1 parent 1b4c59b commit b04bf58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/target/tcm_fc/tfc_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b04bf58

Please sign in to comment.