+ dynamic_debug-remove-wrong-error-message.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + dynamic_debug-remove-wrong-error-message.patch added to -mm tree
To: a.ryabinin@xxxxxxxxxxx,jbaron@xxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Fri, 24 Jan 2014 13:49:30 -0800


The patch titled
     Subject: dynamic_debug: remove wrong error message
has been added to the -mm tree.  Its filename is
     dynamic_debug-remove-wrong-error-message.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/dynamic_debug-remove-wrong-error-message.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/dynamic_debug-remove-wrong-error-message.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
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@xxxxxxxxxxx>
Cc: Jason Baron <jbaron@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 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@xxxxxxxxxxx are

dynamic_debug-remove-wrong-error-message.patch
dynamic_debug-fix-ddebug_parse_query.patch
dynamic_debug-replace-obselete-simple_strtoul-with-kstrtouint.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux