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 <pruthavs@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3014285
Reviewed-by: Martin Radev <mradev@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3100656
This commit is contained in:
Pruthav Sanwatsarkar
2023-11-10 11:18:43 +05:30
committed by mobile promotions
parent 4a95d2b7ea
commit 632d5fbc32

View File

@@ -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;
}
}