diff options
Diffstat (limited to 'common/recipes-support/sllin/files/0003-disable-debug-fix-otput-formating.patch')
-rw-r--r-- | common/recipes-support/sllin/files/0003-disable-debug-fix-otput-formating.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/common/recipes-support/sllin/files/0003-disable-debug-fix-otput-formating.patch b/common/recipes-support/sllin/files/0003-disable-debug-fix-otput-formating.patch new file mode 100644 index 0000000..3fe0052 --- /dev/null +++ b/common/recipes-support/sllin/files/0003-disable-debug-fix-otput-formating.patch @@ -0,0 +1,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 |