diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/timers.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/timers.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/timers.c b/drivers/gpu/nvgpu/common/linux/timers.c index cfebb799..2953902e 100644 --- a/drivers/gpu/nvgpu/common/linux/timers.c +++ b/drivers/gpu/nvgpu/common/linux/timers.c | |||
@@ -97,8 +97,7 @@ static int __nvgpu_timeout_expired_msg_cpu(struct nvgpu_timeout *timeout, | |||
97 | 97 | ||
98 | vsnprintf(buf, sizeof(buf), fmt, args); | 98 | vsnprintf(buf, sizeof(buf), fmt, args); |
99 | 99 | ||
100 | dev_err(dev_from_gk20a(g), | 100 | nvgpu_err(g, "Timeout detected @ %pF %s", caller, buf); |
101 | "Timeout detected @ %pF %s\n", caller, buf); | ||
102 | } | 101 | } |
103 | 102 | ||
104 | return -ETIMEDOUT; | 103 | return -ETIMEDOUT; |
@@ -122,8 +121,7 @@ static int __nvgpu_timeout_expired_msg_retry(struct nvgpu_timeout *timeout, | |||
122 | 121 | ||
123 | vsnprintf(buf, sizeof(buf), fmt, args); | 122 | vsnprintf(buf, sizeof(buf), fmt, args); |
124 | 123 | ||
125 | dev_err(dev_from_gk20a(g), | 124 | nvgpu_err(g, "No more retries @ %pF %s", caller, buf); |
126 | "No more retries @ %pF %s\n", caller, buf); | ||
127 | } | 125 | } |
128 | 126 | ||
129 | return -ETIMEDOUT; | 127 | return -ETIMEDOUT; |