From b9991767cca9e4166e83ab03a07bf79316cf749a Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Mon, 6 Mar 2017 15:37:04 +0200 Subject: 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 Reviewed-on: http://git-master/r/1315749 Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/common/linux/timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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, vsnprintf(buf, sizeof(buf), fmt, args); dev_err(dev_from_gk20a(g), - "Timeout detected @ 0x%pF %s\n", caller, buf); + "Timeout detected @ %pF %s\n", caller, buf); } return -ETIMEDOUT; -- cgit v1.2.2