diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-03-06 08:37:04 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-07 11:09:37 -0500 |
commit | b9991767cca9e4166e83ab03a07bf79316cf749a (patch) | |
tree | 2495bedb5c58753663ec3c342f785c85b9205ac0 /drivers/gpu | |
parent | 3b0e010d14503d0a11ccf6417602e80014fcab69 (diff) |
gpu: nvgpu: drop 0x in front of timed out symbol
The Linux timer code prints an error message containing the caller when
a timeout happens. The caller is formatted as a function name instead of
a pointer, so don't print 0x in front of it.
Bug 1799159
Change-Id: I4f86d885aba78ca20ba025a91c8c940d3c927d58
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1315749
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/timers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/timers.c b/drivers/gpu/nvgpu/common/linux/timers.c index b7fe30f1..f067107b 100644 --- a/drivers/gpu/nvgpu/common/linux/timers.c +++ b/drivers/gpu/nvgpu/common/linux/timers.c | |||
@@ -88,7 +88,7 @@ static int __nvgpu_timeout_expired_msg_cpu(struct nvgpu_timeout *timeout, | |||
88 | vsnprintf(buf, sizeof(buf), fmt, args); | 88 | vsnprintf(buf, sizeof(buf), fmt, args); |
89 | 89 | ||
90 | dev_err(dev_from_gk20a(g), | 90 | dev_err(dev_from_gk20a(g), |
91 | "Timeout detected @ 0x%pF %s\n", caller, buf); | 91 | "Timeout detected @ %pF %s\n", caller, buf); |
92 | } | 92 | } |
93 | 93 | ||
94 | return -ETIMEDOUT; | 94 | return -ETIMEDOUT; |