aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-support/sllin/files/0003-disable-debug-fix-otput-formating.patch
blob: 3fe005218d2a40c899848e8a8679347154ad94ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From 2348a515641bc661570c4d3706149d6814c4f727 Mon Sep 17 00:00:00 2001
From: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Date: Thu, 21 Apr 2016 12:57:07 +0300
Subject: [PATCH] disable debug, fix otput formating


Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
---
 sllin/sllin.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sllin/sllin.c b/sllin/sllin.c
index 54aff92..9402f54 100644
--- a/sllin/sllin.c
+++ b/sllin/sllin.c
@@ -41,8 +41,6 @@
  * Funded by:  Volkswagen Group Research
  */

-#define DEBUG			1 /* Enables pr_debug() printouts */
-
 #include <linux/module.h>
 #include <linux/moduleparam.h>

@@ -1442,9 +1440,9 @@ static int __init sllin_init(void)
	}

 #ifdef BREAK_BY_BAUD
-	pr_debug("sllin: Break is generated by baud-rate change.");
+	pr_debug("sllin: Break is generated by baud-rate change.\n");
 #else
-	pr_debug("sllin: Break is generated manually with tiny sleep.");
+	pr_debug("sllin: Break is generated manually with tiny sleep.\n");
 #endif

	return status;
--
1.7.10.4