From 36d4739db52e6f52e2433d627f5535fd621cac7b Mon Sep 17 00:00:00 2001 From: Pruthav Sanwatsarkar Date: Fri, 10 Nov 2023 11:18:43 +0530 Subject: [PATCH] nvgpu: Remove newline from warning statement The ap_devtools_judy kernel warning test saw consistent failrures because of empty newline warns being reported as kernel failures. These new line warnings were found to be reported only from the changed kernel warning. Since all other nvgpu warns dont have new line endings, removing the new line ending for the error causing warn in this case. Change-Id: Iaaf415085708eb970ae74f01c18be989ca068776 Signed-off-by: Pruthav Sanwatsarkar Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3014285 Reviewed-by: Martin Radev Reviewed-by: Vaibhav Kachore GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/common/regops/regops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/common/regops/regops.c b/drivers/gpu/nvgpu/common/regops/regops.c index 8bf190b21..df2ebc0af 100644 --- a/drivers/gpu/nvgpu/common/regops/regops.c +++ b/drivers/gpu/nvgpu/common/regops/regops.c @@ -207,7 +207,7 @@ int exec_regops_gk20a(struct gk20a *g, ctx_wr_count, ctx_rd_count, flags); if (err != 0) { - nvgpu_warn(g, "failed to perform ctx ops\n"); + nvgpu_warn(g, "failed to perform ctx ops"); goto clean_up; } }