From bf0a666be02a63c78849a36eae37cae6c49aa437 Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Mon, 16 Jan 2017 14:20:16 +0200 Subject: 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 Reviewed-on: http://git-master/r/1285922 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index d36b5d34..2f71e13a 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c @@ -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, -- cgit v1.2.2