Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp223550pxb; Tue, 31 Aug 2021 19:49:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycYFhsZiUe4xNFo6OpLwwv/QdKMVxzHoAq0orExGajbxbweevdStkTP6oOy453CPQ8g0Jx X-Received: by 2002:a92:c6d1:: with SMTP id v17mr23112974ilm.302.1630464594580; Tue, 31 Aug 2021 19:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630464594; cv=none; d=google.com; s=arc-20160816; b=1LRZzxTlUfdNyCPanJNy8UC539PvVe8CnNxWHUTVEjOUze4Y9/Fr2EHVrGrjgPViIR EL+w+nU+rcDcNn56404f+VicrKL06T15SBIDaO9nBwOUlsPJwPoiQWxheGmWLYuv2f6o 1+HphWxIBKm7cXpGIByc7DeF41RwZ7sY/V3jfgVvtbbCyrwpn75+YTOoxSYRkMHKvut2 8ecxeTmnbO0PNxN6YOI5Sb6/aQp6FF9llQAyU3kwjFnyLE1s2z5hoyBiQalOHzKk15Cs 6Mchurqrl4+Wxf7UJpYcEIUQSLe2tYDKi8Qy9dAhr5AONLuAbN/1LvGaGbLucUY29Kyo RPLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=y6W1E9vUEGje6eoyyBEahmdaD2MJOmhDrHAwpUeS8qQ=; b=jUy1KsRqmjMuzt8dYBzgkbbKRi51isgQli4kidjATUzQQ3C3/Xc1XcpNt2F5B6GV4W YY8tQDwlaFAdf5I4bspD1yuESOLxzFN00FK8ReVReS3TN+mQ8VVYUkNpxV/MYHrlA8BV K3uVleTmxs1yGK/2qPiLpMTKiT2hR0iH1l+/uQE+2gtljkh3RrZjnl/n9dL3I1VSxKI+ 7u3k1BYR/HQXZO8H8YWKXoznvs+usW/weigD3nilOJNt8m9dyxEv0K4JwZV+Rpzn/EI6 ZmYbg38hXOSlUhOE2/1OKvG6B45A6jpAuriAYfH4Y9xwY0hU5+cYnq0RDWoAMPy1OfLB hWeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l8si18269786ilt.110.2021.08.31.19.49.43; Tue, 31 Aug 2021 19:49:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241508AbhIACdb (ORCPT + 99 others); Tue, 31 Aug 2021 22:33:31 -0400 Received: from mail-m17644.qiye.163.com ([59.111.176.44]:18498 "EHLO mail-m17644.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241128AbhIACda (ORCPT ); Tue, 31 Aug 2021 22:33:30 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [58.213.83.158]) by mail-m17644.qiye.163.com (Hmail) with ESMTPA id 84318320106; Wed, 1 Sep 2021 10:32:32 +0800 (CST) From: Wan Jiabing To: Mat Martineau , Matthieu Baerts , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, mptcp@lists.linux.dev, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] mptcp: Fix duplicated argument in protocol.h Date: Wed, 1 Sep 2021 10:32:05 +0800 Message-Id: <20210901023205.5049-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUhPN1dZLVlBSVdZDwkaFQgSH1lBWRpLSxhWSUJOSRpJTEpMSU sdVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktISkNVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Nj46Ejo*HT9NE0gMMEw8HTwp NwoaCyxVSlVKTUhLT01ITk5IS09CVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlO Q1VJSkhVQ0hVSk5DWVdZCAFZQUpDQkg3Bg++ X-HM-Tid: 0a7b9f336ca8d99akuws84318320106 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ./net/mptcp/protocol.h:36:50-73: duplicated argument to & or | The OPTION_MPTCP_MPJ_SYNACK here is duplicate. Here should be OPTION_MPTCP_MPJ_ACK. Signed-off-by: Wan Jiabing --- net/mptcp/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index d7aba1c4dc48..64c9a30e0871 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -34,7 +34,7 @@ #define OPTIONS_MPTCP_MPC (OPTION_MPTCP_MPC_SYN | OPTION_MPTCP_MPC_SYNACK | \ OPTION_MPTCP_MPC_ACK) #define OPTIONS_MPTCP_MPJ (OPTION_MPTCP_MPJ_SYN | OPTION_MPTCP_MPJ_SYNACK | \ - OPTION_MPTCP_MPJ_SYNACK) + OPTION_MPTCP_MPJ_ACK) /* MPTCP option subtypes */ #define MPTCPOPT_MP_CAPABLE 0 -- 2.25.1