mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: fix dev_info typo in refcount tracking
The recently added refcount tracking support had a slight mishap in refactoring some printks. Fix a typo to make the support compile again when enabled. Bug 1826754 Change-Id: Ifd76d644932fa219751db82a0beb3c8482ea68c3 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1285922 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
bbea338b44
commit
bf0a666be0
@@ -1081,7 +1081,7 @@ static void gk20a_channel_dump_ref_actions(struct channel_gk20a *ch)
|
||||
|
||||
spin_lock(&ch->ref_actions_lock);
|
||||
|
||||
dev_info(d, "ch %d: refs %d. Actions, most recent last:\n",
|
||||
dev_info(dev, "ch %d: refs %d. Actions, most recent last:\n",
|
||||
ch->hw_chid, atomic_read(&ch->ref_count));
|
||||
|
||||
/* start at the oldest possible entry. put is next insertion point */
|
||||
@@ -1095,7 +1095,7 @@ static void gk20a_channel_dump_ref_actions(struct channel_gk20a *ch)
|
||||
struct channel_gk20a_ref_action *act = &ch->ref_actions[get];
|
||||
|
||||
if (act->trace.nr_entries) {
|
||||
dev_info(d, "%s ref %zu steps ago (age %d ms, diff %d ms)\n",
|
||||
dev_info(dev, "%s ref %zu steps ago (age %d ms, diff %d ms)\n",
|
||||
act->type == channel_gk20a_ref_action_get
|
||||
? "GET" : "PUT",
|
||||
GK20A_CHANNEL_REFCOUNT_TRACKING - 1 - i,
|
||||
|
||||
Reference in New Issue
Block a user