From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C22E423F2; Mon, 16 Jan 2023 18:28:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB7D342D3B; Mon, 16 Jan 2023 18:27:43 +0100 (CET) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 0EF5D42D23 for ; Mon, 16 Jan 2023 18:27:41 +0100 (CET) Received: by mail-pl1-f174.google.com with SMTP id z13so3167457plg.6 for ; Mon, 16 Jan 2023 09:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KYhKd2N/UNEiY1VQHP4CU5KnegHldBaGV+G+2JwMfKM=; b=Lq1BUeyClhBoGsFHgE8XgdZRqyt1kB/+xuXu0kvcgqEhyvH0cEgZmSGrnZee8NiKxO yllgWkpeHA1DmwWjPI3zw8tPr/wyCt760K8xLgTPf1zqfC0g7xyBZVG9s2ay4Xo3OKoe GbhSShw0yMKbbgptz0Jxu+mkA0pcgtsRNmc1OnOOodW54GwOfqSbRY2mrWQ/AVpJ5tEp F+u41s8z27DUYVFLpvcKPUfZW2ukSJv+AhC6vpDd7C+UaCS+P7KqqPbG8G+QKg4iKQrt xXlP3p0ZvhW8Iy4umm6lezzg+/HHND4rGXhW/ozj5zqEmmp8ZCMSSWN4WVNeXNhrAfl6 BlCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KYhKd2N/UNEiY1VQHP4CU5KnegHldBaGV+G+2JwMfKM=; b=wsY0mOI3fMXb13N73I1bQqFXmKNSWJDK0A81Wp15Pq470J1e3fdqwIoUD0EYaB2QB+ aTUa0EO5m6S0Y+2PWD8lUQVZgGGNVYME9Vy3UpvcPdJBnuj1vMG8a7La0IF9Q1cQcKsO /79BxgB5Kkwn1RlND0JFDKeZNiFJaSoVMTZW2wu23GnimrOEabd5EGOTvP/jWrZ7Wltw O6iHgHZQevM5C68m/BQ0B3sfhII7+5K1PgyLBJsCQOCFgHKFsNFc0WqwKtShAvTmQGS4 VXtF8JI/5sW9JYXfKTqEvWl4FakO/iYlkcxnYyLFBVijOOKHn4bwDUQAnCnxIvbsFgfQ zreA== X-Gm-Message-State: AFqh2kp3mberrlZ1q7NY3F0CTJ0ZYUMxX/983qv0kbRL1Py8diDuCGZZ zWvX82Z8OITVVFgG9KCc4e29keqvEQxZbbOmvfg= X-Google-Smtp-Source: AMrXdXvEIyCyFenB8IOPfbUOeA7W8yJGyknUpdrkBeSiIbHzrnSxNZALjG0gANDOaIfPVZbJ7MWzOw== X-Received: by 2002:a17:903:50b:b0:193:3c98:db51 with SMTP id jn11-20020a170903050b00b001933c98db51mr430069plb.42.1673890060065; Mon, 16 Jan 2023 09:27:40 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id j3-20020a170902c3c300b001945b984341sm3992635plj.100.2023.01.16.09.27.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 09:27:39 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH 7/7] ip_frag: fix whitespace Date: Mon, 16 Jan 2023 09:27:31 -0800 Message-Id: <20230116172732.84976-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230116172732.84976-1-stephen@networkplumber.org> References: <20230116172732.84976-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The style standard is to use blank after keywords. I.e "if (" not "if(" Signed-off-by: Stephen Hemminger --- lib/ip_frag/rte_ipv4_reassembly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c index 4a89a5f5365a..88ee0aa63f62 100644 --- a/lib/ip_frag/rte_ipv4_reassembly.c +++ b/lib/ip_frag/rte_ipv4_reassembly.c @@ -34,7 +34,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp) for (i = n; i != IP_FIRST_FRAG_IDX && ofs != first_len; i--) { /* previous fragment found. */ - if(fp->frags[i].ofs + fp->frags[i].len == ofs) { + if (fp->frags[i].ofs + fp->frags[i].len == ofs) { RTE_ASSERT(curr_idx != i); -- 2.39.0