From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yafang Shao Subject: [PATCH v2 net-next] net/trace: fix printk format in inet_sock_set_state Date: Sun, 24 Dec 2017 23:10:39 +0800 Message-ID: <1514128239-2331-1-git-send-email-laoar.shao@gmail.com> Cc: netdev@vger.kernel.org, Yafang Shao , Sergei Shtylyov To: davem@davemloft.net Return-path: Received: from mail-pg0-f66.google.com ([74.125.83.66]:42675 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751574AbdLXPKv (ORCPT ); Sun, 24 Dec 2017 10:10:51 -0500 Received: by mail-pg0-f66.google.com with SMTP id q67so7031677pga.9 for ; Sun, 24 Dec 2017 07:10:51 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: There's a space character missed in the printk messages. Put the message into one line could simplify searching for the messages in the kernel source. Fixes: 563e0bb0dc74("net: tracepoint: replace tcp_set_state tracepoint with inet_sock_set_state tracepoint") Cc: Sergei Shtylyov Signed-off-by: Yafang Shao --- include/trace/events/sock.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/trace/events/sock.h b/include/trace/events/sock.h index 3b9094a..3537c5f 100644 --- a/include/trace/events/sock.h +++ b/include/trace/events/sock.h @@ -160,8 +160,7 @@ } ), - TP_printk("protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4" - "saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s", + TP_printk("protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s", show_inet_protocol_name(__entry->protocol), __entry->sport, __entry->dport, __entry->saddr, __entry->daddr,