Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp430094ybb; Fri, 3 Apr 2020 05:34:59 -0700 (PDT) X-Google-Smtp-Source: APiQypIqXVMkvbf5J270nl1hJfB2m3E0rOmvVqaiZyYdLu8U971hNidML0v1RRhXRG1aRA2gwdgw X-Received: by 2002:aca:3889:: with SMTP id f131mr2648288oia.154.1585917299636; Fri, 03 Apr 2020 05:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585917299; cv=none; d=google.com; s=arc-20160816; b=HCqcZfzii+gTfGMFFpRV/EMOXNfUKR5xIH2ihqIg3ay1/6KcDUnHN3AyZ+QDlnI/+/ 1I+SW7Pxoa3ohpWF5Q3mCd5zaOPUP55y7wVEU+QM3LNM6K+Nj4u7Ep93p1rjXFEBqyen 5MFtekWb8KbgipL1RLkCz/DdAsG0yYVFqeE8Vx95sPQ0fOcWEevp8l8J+EQAfObi8Qss 5mOzcR3QF7qK0vSiQp4rsHHkguZL6TFab8NVnylwSgi1Ynp+haXMrLcmz1avFemRqTfN FU9qn/PeT5dO/l39Zm7gEgeMvv/tS/2i8hbHJ7VoCsHg7GOqqX2JHd9oq7exu5BIRgxK 5AhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=m9uB8CXOauOvkixvQHaupaJsW5GE1b/+9MUTIoEBWtw=; b=jrlBKtrLxM5OktujT8Zx0tLBM4JaXpFywv4Ptp6mkL2qwYsPmRyALnGxrDsAsQkOmk bFi3KW88ryBGs+RixN0EPO0DlAHgsbSbDHg5Zk8ML36U/1v+fCzFAG1st/k4i4EaTlhv 4KXRmKbIMlk9oUAGGCd0kpQGYuVpycGKnABT8kWKvdkk4+7skQPd+UbbcE+hReGaR73K aDzvTLxT2j8u+P8RV8aG113My8Lfopuc0L36nMCQIhEzi+eSvcSehB76eocT5MaJ+Ydf 4Am+WOrtMJm3ZcBmw6M6IM8RHYYBpwkLTdon9CScVYmISpaRcS6CsFigNlbORIMyUukU euug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=mP38Zims; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si3789919oif.218.2020.04.03.05.34.46; Fri, 03 Apr 2020 05:34:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@tessares-net.20150623.gappssmtp.com header.s=20150623 header.b=mP38Zims; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390886AbgDCL5x (ORCPT + 99 others); Fri, 3 Apr 2020 07:57:53 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35438 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390800AbgDCL5x (ORCPT ); Fri, 3 Apr 2020 07:57:53 -0400 Received: by mail-wr1-f68.google.com with SMTP id g3so5893080wrx.2 for ; Fri, 03 Apr 2020 04:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tessares-net.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=m9uB8CXOauOvkixvQHaupaJsW5GE1b/+9MUTIoEBWtw=; b=mP38ZimsazJj47mkB31YHkndHlq8nfBVb0VJ4dOpLB1q02Anbk8BAxgjDFiejLpnHc rwrkB8j9Ri1rZpdgetcOhGIrErQrE8HS53Tc8hrHbMxCFkFdzjDNitVYbsfim78ihOaZ u4JXfGcv+zQ6ADmmgT6EM3TsniIsxAe8eIq3s6BHW36VkRoeZi/BnDeDpbJR0wA6T9nM wjHXfO42JkRWkcSVAoutvrdb0l7R6+wwlv9p8XJLiMrt6UfCYL6EgjNlnxtAOyKXoVcD yl6PhQA4ps0zd3OTsyunfNULVHwRJJeNSQH1Kp0DOLP5LLjllmUh4sxz6+8dau9mK36g FmiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=m9uB8CXOauOvkixvQHaupaJsW5GE1b/+9MUTIoEBWtw=; b=PzH/zDLako3y/uhtn73+TMgANm/OZIS/ygyF45MreLwF2DRRNRK8i88hzZ+UigDKY1 mBf+JUH+CctVoD+psYHYUbGnLo3+yFvaK5tS5POkALTmsEojJxJ6vJGKBSEDvCD3yRrw 6t29bDZGlG24Q4CJFQRYtsMYHzIwU0XTfMPg4Q3R/g1wC5tte5H8VITqCDWlAHYrMknw tNDJmX3tLVeedk22dQ+zpM5KYo8JPYjg7uVu7cksYHmgNpWvUmIATrpwiZvMMJS9tR0R Z5ZTDcylHwNy2UO9ecQ7hJhgWfC8elPvnV5CQ14OV3Sv4kbSIveVdRAKBaziY2bYp7Du p8pg== X-Gm-Message-State: AGi0PuYjs0ljxRr5k0F4ht6CsKnC/O0FvMcqTU9Yftf97vrHgSUbTwiJ 39tBwUWBakuByTW92Jtyzh3wP92ciqRlLw== X-Received: by 2002:adf:82a6:: with SMTP id 35mr8735769wrc.307.1585915070364; Fri, 03 Apr 2020 04:57:50 -0700 (PDT) Received: from tsr-lap-08.nix.tessares.net ([79.132.236.184]) by smtp.gmail.com with ESMTPSA id h26sm10928350wmb.19.2020.04.03.04.57.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Apr 2020 04:57:49 -0700 (PDT) Subject: Re: [PATCH v2] mptcp: add some missing pr_fmt defines To: Geliang Tang , Mat Martineau , "David S. Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, mptcp@lists.01.org, linux-kernel@vger.kernel.org References: From: Matthieu Baerts Message-ID: <53e4271f-c881-c52d-c6e1-4930a4f6898a@tessares.net> Date: Fri, 3 Apr 2020 13:57:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geliang, On 03/04/2020 11:14, Geliang Tang wrote: > Some of the mptcp logs didn't print out the format string: > > [ 185.651493] DSS > [ 185.651494] data_fin=0 dsn64=0 use_map=0 ack64=1 use_ack=1 > [ 185.651494] data_ack=13792750332298763796 > [ 185.651495] MPTCP: msk=00000000c4b81cfc ssk=000000009743af53 data_avail=0 skb=0000000063dc595d > [ 185.651495] MPTCP: msk=00000000c4b81cfc ssk=000000009743af53 status=0 > [ 185.651495] MPTCP: msk ack_seq=9bbc894565aa2f9a subflow ack_seq=9bbc894565aa2f9a > [ 185.651496] MPTCP: msk=00000000c4b81cfc ssk=000000009743af53 data_avail=1 skb=0000000012e809e1 > > So this patch added these missing pr_fmt defines. Then we can get the same > format string "MPTCP" in all mptcp logs like this: > > [ 142.795829] MPTCP: DSS > [ 142.795829] MPTCP: data_fin=0 dsn64=0 use_map=0 ack64=1 use_ack=1 > [ 142.795829] MPTCP: data_ack=8089704603109242421 > [ 142.795830] MPTCP: msk=00000000133a24e0 ssk=000000002e508c64 data_avail=0 skb=00000000d5f230df > [ 142.795830] MPTCP: msk=00000000133a24e0 ssk=000000002e508c64 status=0 > [ 142.795831] MPTCP: msk ack_seq=66790290f1199d9b subflow ack_seq=66790290f1199d9b > [ 142.795831] MPTCP: msk=00000000133a24e0 ssk=000000002e508c64 data_avail=1 skb=00000000de5aca2e > > Signed-off-by: Geliang Tang > > --- > Changes in v2: > - add pr_fmt to C files, not headers. Thank you for this v2 (sorry, it was in my spam folder). I thought checkpatch.pl would have forced you to add a new blank line in net/mptcp/pm.c after the copyright comment and before the beginning of the code but it seems not. And there was no blank line before so I guess it's OK like that! Reviewed-by: Matthieu Baerts