Skip to contentSkip to conversation

dynamic_debug-remove-wrong-error-message.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 28, 2014

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] dynamic_debug-remove-wrong-error-message.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 28 Jan 2014 11:09:15 -0800

The patch titled
Subject: dynamic_debug: remove wrong error message
has been removed from the -mm tree. Its filename was
dynamic_debug-remove-wrong-error-message.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Andrey Ryabinin <[email protected]>
Subject: dynamic_debug: remove wrong error message

parse_lineno() returns either negative error code or zero. We don't need to print something here because if parse_lineno fails it will print error message.

---

 lib/dynamic_debug.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
lib/dynamic_debug.c renamed from lib/dynamic_debug.c~dynamic_debug-remove-wrong-error-message +1 -3
diff -puN lib/dynamic_debug.c~dynamic_debug-remove-wrong-error-message lib/dynamic_debug.c
@@ -348,10 +348,8 @@ static int ddebug_parse_query(char *word
 			}
 			if (last)
 				*last++ = '\0';
-			if (parse_lineno(first, &query->first_lineno) < 0) {
-				pr_err("line-number is <0\n");
+			if (parse_lineno(first, &query->first_lineno) < 0)
 				return -EINVAL;
-			}
 			if (last) {
 				/* range <first>-<last> */
 				if (parse_lineno(last, &query->last_lineno)

_

Patches currently in -mm which might be from [email protected] are

origin.patch