* [merged] dynamic_debug-remove-wrong-error-message.patch removed from -mm tree
@ 2014-01-28 19:09 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2014-01-28 19:09 UTC (permalink / raw
To: mm-commits, jbaron, a.ryabinin
Subject: [merged] dynamic_debug-remove-wrong-error-message.patch removed from -mm tree
To: a.ryabinin@samsung.com,jbaron@akamai.com,mm-commits@vger.kernel.org
From: akpm@linux-foundation.org
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 <a.ryabinin@samsung.com>
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.
Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Cc: Jason Baron <jbaron@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
lib/dynamic_debug.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff -puN lib/dynamic_debug.c~dynamic_debug-remove-wrong-error-message lib/dynamic_debug.c
--- a/lib/dynamic_debug.c~dynamic_debug-remove-wrong-error-message
+++ a/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 a.ryabinin@samsung.com are
origin.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-28 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 19:09 [merged] dynamic_debug-remove-wrong-error-message.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.