summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2017-06-02 16:45:22 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-06 11:13:36 -0400
commit345fc00445f83f9a08bc364f9cb242bca29e3870 (patch)
treed2ba70617475cd0bb0eb77c16e0c5578bb51ca27 /drivers
parent0ebe462c130108a027f85bcb6736fed2ef74204e (diff)
gpu: nvgpu: remove duplicate \n from log messages
nvgpu_log/info/warn/err() internally add a \n to the end of the message. Hence, callers should not include a \n at the end of the message. Doing so results in duplicate \n being printed, which ends up creating empty log messages. Remove the duplicate \n from all err/warn messages. (This message was updated in parallel with the previous change to fix this particular issue) Bug 1928311 Change-Id: I789f8c4b4084539ac901ed0f6b815518900cee90 Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-on: http://git-master/r/1495020 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
index 9141264b..63896228 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
@@ -1563,7 +1563,7 @@ static bool gk20a_fifo_handle_mmu_fault(
1563 nvgpu_err(g, "%s mmu fault on engine %d, " 1563 nvgpu_err(g, "%s mmu fault on engine %d, "
1564 "engine subid %d (%s), client %d (%s), " 1564 "engine subid %d (%s), client %d (%s), "
1565 "addr 0x%llx, type %d (%s), access_type 0x%08x," 1565 "addr 0x%llx, type %d (%s), access_type 0x%08x,"
1566 "inst_ptr 0x%llx\n", 1566 "inst_ptr 0x%llx",
1567 fake_fault ? "fake" : "", 1567 fake_fault ? "fake" : "",
1568 engine_id, 1568 engine_id,
1569 mmfault_info.client_type, 1569 mmfault_info.client_type,