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 EC3AB423F4; Tue, 17 Jan 2023 01:15:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABE6A42D3E; Tue, 17 Jan 2023 01:15:05 +0100 (CET) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id 8CDA242D13 for ; Tue, 17 Jan 2023 01:15:03 +0100 (CET) Received: by mail-pj1-f49.google.com with SMTP id 7-20020a17090a098700b002298931e366so2654630pjo.2 for ; Mon, 16 Jan 2023 16:15:03 -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=5H0NCuZLaFZHKmR0+5CpntIOmKcMwG6riOz8a3XBvgMqsaTIHBadAAw12F7m3xv+GM dmuAJbyYj2GTJMhnokRQ34bzJ+tcUkVX0fviUIFr4Boab8nc0YCC+aI+SzW1UDm9zZH7 U6lqVHh7kmEwQKz6I7EjJINMmOhyjj/h0i1HPmZya7YxXnEUYzXFLeMltjUWJoOdZXFS SlYiwuCTbdDgiTLnEi+f8+2GSs/m5Od52XY24X3VMBspYdAzQuXSy9wXkAPXZxLdimcZ 871BsnR6umTKRIc5TIkks1tQ2E+XXM0YMPdjhtJabHTYeF4HWqHNDjcvO28B/S+YRisF 0gRA== 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=idYQWAYxIHmCBFQucMlQ8+Lr9l0U5fThmQ5TOUB19BI2eCTUdtpcb2xNzNXTW5zJsy 6FtF56W3zM+1SKdiRP+SmjE7tHixPVBweKJARNs0X6NY5xaN62XRaHBr7LBNuXSZSuUJ r0JMX+kW1VsOlVpYjD3hUfFrO9sGox5k9BmE4HUOWjMWZub5+/EnO0ndYpiCmHvVXqn7 ljT9XAEqr2HbCdOiB4GZW1+7o3/wnJRfhPikwCmsTmVXjSlhLmeRx6RuGCDfZwZ1BWZt Aa8vmMeN5bYNBE/vibk9KsMXRRTV/w9t0CXDArU8z2YBrgbwIV4gNJndZkC1UxWKhTlW ohDA== X-Gm-Message-State: AFqh2kr8MIjspyamhLD3S/+s8ow3EGYXP7B1hmI4mjxMgx/N7H0UKYOn wMnAmdBa39c4VSdD9jdu5kyKus6Dz0aI6nM0srE= X-Google-Smtp-Source: AMrXdXsjpZo6xLsoD8IrvZF8Op+LLup1s2/US3k5/mO5KR8br/zoRvfalVIFpP4GVfotlZP3nWT6xw== X-Received: by 2002:a05:6a20:c18f:b0:a3:ca9a:ff82 with SMTP id bg15-20020a056a20c18f00b000a3ca9aff82mr879740pzb.61.1673914502544; Mon, 16 Jan 2023 16:15:02 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id z24-20020a630a58000000b004790eb3fee1sm15940614pgk.90.2023.01.16.16.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 16:15:02 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v3 7/7] ip_frag: fix whitespace Date: Mon, 16 Jan 2023 16:14:53 -0800 Message-Id: <20230117001453.94082-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230117001453.94082-1-stephen@networkplumber.org> References: <20230116172732.84976-1-stephen@networkplumber.org> <20230117001453.94082-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