From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Thompson Subject: [net-next PATCH 1/1] tipc: add back tipc prefix to log messages Date: Wed, 10 Jan 2018 08:50:24 +1300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: tipc-discussion@lists.sourceforge.net To: davem@davemloft.net, netdev@vger.kernel.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tipc-discussion-bounces@lists.sourceforge.net List-Id: netdev.vger.kernel.org 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. Acked-by: Jon Maloy 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