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 2E3BF45BB1 for ; Mon, 28 Oct 2024 14:51:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2AB20410E4; Mon, 28 Oct 2024 14:51:41 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 94301410E3 for ; Mon, 28 Oct 2024 14:51:40 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 792CC12314E; Mon, 28 Oct 2024 14:51:40 +0100 (CET) Subject: |WARNING| pw147513 [PATCH] igc: fix invalid length and corrupted multi-segment mbufs In-Reply-To: <5f0486a2-eb1e-4349-bdca-ee2c241379b3@allegro-packets.com> References: <5f0486a2-eb1e-4349-bdca-ee2c241379b3@allegro-packets.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Martin Weiser Message-Id: <20241028135140.792CC12314E@dpdk.org> Date: Mon, 28 Oct 2024 14:51:40 +0100 (CET) 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/147513 _coding style issues_ ERROR:CORRUPTED_PATCH: patch seems to be corrupt (line wrapped?) #162: FILE: :510: rte_mbuf **rx_pkts, WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file #166: FILE: :514: +        if (rxq->offloads & RTE_ETH_RX_OFFLOAD_TIMESTAMP) { WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file #167: FILE: :515: +            if (first_seg == NULL) WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file #168: FILE: :516: +                data_len -= IGC_TS_HDR_LEN; WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file #169: FILE: :517: +            else WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file #170: FILE: :518: +                rxm->data_off -= IGC_TS_HDR_LEN; WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file #171: FILE: :519: +        } WARNING:EMBEDDED_FILENAME: It's generally not useful to have the filename in the file #180: FILE: :568: +                rxm = last_seg; WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (0, 0) #194: FILE: drivers/net/igc/igc_txrx.c:350: +        if (rxq->offloads & RTE_ETH_RX_OFFLOAD_TIMESTAMP) +            data_len -= IGC_TS_HDR_LEN; total: 1 errors, 8 warnings, 0 checks, 29 lines checked