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 A445DA0544 for ; Mon, 10 Oct 2022 19:53:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F75040143; Mon, 10 Oct 2022 19:53:00 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 1AEB840041 for ; Mon, 10 Oct 2022 19:52:59 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 0E45A120EFA; Mon, 10 Oct 2022 19:52:59 +0200 (CEST) Subject: |WARNING| pw117825 [PATCH] gro : fix pkt length when extra bytes are padded to ethernet frame In-Reply-To: <20221010175109.44282-1-kumaraparmesh92@gmail.com> References: <20221010175109.44282-1-kumaraparmesh92@gmail.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Kumara Parameshwaran Message-Id: <20221010175259.0E45A120EFA@dpdk.org> Date: Mon, 10 Oct 2022 19:52:59 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/117825 _coding style issues_ WARNING:BRACES: braces {} are not necessary for single statement blocks #114: FILE: lib/gro/gro_tcp4.c:224: + if (unlikely(pkt->pkt_len > (uint32_t)(ip_len + pkt->l2_len))) { + pkt->pkt_len = ip_len + pkt->l2_len; + } total: 0 errors, 1 warnings, 20 lines checked