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 8C118423F2; Mon, 16 Jan 2023 18:52:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A47742D3A; Mon, 16 Jan 2023 18:51:41 +0100 (CET) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id F0B1F42D32 for ; Mon, 16 Jan 2023 18:51:37 +0100 (CET) Received: by mail-pl1-f170.google.com with SMTP id z13so3225731plg.6 for ; Mon, 16 Jan 2023 09:51:37 -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=Xm0G3+4iVALz2pFj8PuClM8a9FjWT17eWyrOttMtbsiDx1Zbpr/ItUCWKQeiHIXdOP Mo2+IYRCAPOwf2sDQLoBoS9hcnIVPEOcUMbsZ2DITBENFuJbunLBGCXI96Kg6zv3rR5I slcdHeTTk59psio0slSvKuQS1cCYcmTWRnZQ8BypEplz9zTXRLjvcCM3v7eflZ1nos6X jjhiRsnKggLGpdtSDBmrop/ELY+d7wEoUG/UCBaooJ/x6+EHzDwzjTbjROZtp2PEY77q 1RafatA4Cqa/LQxlIi8y5tuzUoeOUvCUoQ2RLUsMEzAP6pWSOiWl51sqpLwMz8k1FNVK DEoQ== 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=5th6nnxdohHRyLEgRD08BLqcC0d3VbVVY1i59/AeRTmSLqX0m10FVjmQPNlIC9swdG VBLm3mg0XV+DN0xgPeFX2FODBgy0F7W+OyaNXCE4oTE+PXvC41NjtUId7hXquz1NR9sh iadt1t4nJ4pgFMqn3gQzxOEl7Wm1dt5j8F2qDYuYBICsEZtx3nOt7gKyVhOSLvdBZa9k czXdV/47jgC5oH4V2x3ILtI5LTB/WFNAJnALUQzIB6gv7wo4nduJEI3Vhr4AYVBBqeOq qMDTcmFgDw70Rjo+SSeDB3EthzZaJWM9GDpc4G1IKsejTM4RcuixLa+gRM+2LrcQqX/8 2OLw== X-Gm-Message-State: AFqh2kq63Fh4dASmc4zuPKDtOZEG4e4vW4tsf1Ft/MPxSoQQcBLKY+xJ gstYk6eEnd7jHWSxFIt7mlOoZlBV9fIDgh0UYOo= X-Google-Smtp-Source: AMrXdXsiajIdWZmeIXe12t2fk6g36AGcf5NcDM3HT4WX8rVNiv44+xFZzwnn+PAKFYsC79tIFii1Yg== X-Received: by 2002:a17:902:e012:b0:193:3b4b:1a4d with SMTP id o18-20020a170902e01200b001933b4b1a4dmr431505plo.63.1673891496976; Mon, 16 Jan 2023 09:51:36 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id k15-20020a170902d58f00b001947c22185bsm5035795plh.184.2023.01.16.09.51.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 09:51:36 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Konstantin Ananyev Subject: [PATCH v2 7/7] ip_frag: fix whitespace Date: Mon, 16 Jan 2023 09:51:27 -0800 Message-Id: <20230116175127.87346-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230116175127.87346-1-stephen@networkplumber.org> References: <20230116172732.84976-1-stephen@networkplumber.org> <20230116175127.87346-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