summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-04-07 15:00:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-12 10:01:01 -0400
commitfb1f604f41435a206b866fba87d36bbc3e9ae474 (patch)
tree5a5e3650e536bc77a9d09d97f1c3d9525dfbf727
parent19fdb429c2b04d13faecad8b2e5466e9f3c7b8c7 (diff)
gpu: nvgpu: Add '\n' back to log prints
Add back the automatic '\n' addition for logging functions. Since the driver was developed like this it is simpler to add this back. Change-Id: Iff097d667cf0fac7d64dc916a1d1b3b4f8c519ff Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1458140 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
-rw-r--r--drivers/gpu/nvgpu/common/linux/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/log.c b/drivers/gpu/nvgpu/common/linux/log.c
index 9dd965ec..e89840ef 100644
--- a/drivers/gpu/nvgpu/common/linux/log.c
+++ b/drivers/gpu/nvgpu/common/linux/log.c
@@ -34,7 +34,7 @@
34 * function and friends use the preprocessor to concatenate stuff to the start 34 * function and friends use the preprocessor to concatenate stuff to the start
35 * of this string when printing. 35 * of this string when printing.
36 */ 36 */
37#define LOG_FMT "nvgpu: %s %33s:%-4d [%s] %s" 37#define LOG_FMT "nvgpu: %s %33s:%-4d [%s] %s\n"
38 38
39u32 nvgpu_dbg_mask = NVGPU_DEFAULT_DBG_MASK; 39u32 nvgpu_dbg_mask = NVGPU_DEFAULT_DBG_MASK;
40 40