Re: [tipc-discussion] [PATCH] tipc: add back tipc prefix to log messages
From: Matt Bennett Date: Thu, 14 Nov 2019 12:20:03 +1300 > The tipc prefix for log messages generated by tipc was > removed in commit 07f6c4bc048a ("tipc: convert tipc reference > table to use generic rhashtable"). > > This is still a useful prefix so add it back. > > Signed-off-by: Matt Bennett Applied. ___ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion
Re: [tipc-discussion] [PATCH] tipc: add back tipc prefix to log messages
Acked-by Jon Maloywrote: The tipc prefix to log messages generated by tipc was removed in commit 07f6c4bc0 ("tipc: convert tipc reference table to use generic rhashtable"). This is still a useful prefix and so add it back. Signed-off-by: John Thompson --- net/tipc/core.c | 2 -- net/tipc/core.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tipc/core.c b/net/tipc/core.c index 0b982d048fb9..4cd9e57446ec 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c @@ -34,8 +34,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - #include "core.h" #include "name_table.h" #include "subscr.h" diff --git a/net/tipc/core.h b/net/tipc/core.h index 964342689f2c..f89f9a3c18c2 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h @@ -37,6 +37,8 @@ #ifndef _TIPC_CORE_H #define _TIPC_CORE_H +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include -- 2.15.0 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion
[tipc-discussion] [PATCH] tipc: add back tipc prefix to log messages
The tipc prefix to log messages generated by tipc was removed in commit 07f6c4bc0 ("tipc: convert tipc reference table to use generic rhashtable"). This is still a useful prefix and so add it back. Signed-off-by: John Thompson--- net/tipc/core.c | 2 -- net/tipc/core.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/tipc/core.c b/net/tipc/core.c index 0b982d048fb9..4cd9e57446ec 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c @@ -34,8 +34,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - #include "core.h" #include "name_table.h" #include "subscr.h" diff --git a/net/tipc/core.h b/net/tipc/core.h index 964342689f2c..f89f9a3c18c2 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h @@ -37,6 +37,8 @@ #ifndef _TIPC_CORE_H #define _TIPC_CORE_H +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include -- 2.15.0 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion