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 8128C42B22 for ; Tue, 16 May 2023 12:49:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E9054068E; Tue, 16 May 2023 12:49:39 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id DEC5E4068E for ; Tue, 16 May 2023 12:49:38 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id CD0EC120565; Tue, 16 May 2023 12:49:38 +0200 (CEST) Subject: |WARNING| pw126879 [PATCH] lib/kni : fix memory-leak on rte_kni_rx_burst In-Reply-To: <20230516104853.479297-1-yasinncaner@gmail.com> References: <20230516104853.479297-1-yasinncaner@gmail.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Yasin CANER Message-Id: <20230516104938.CD0EC120565@dpdk.org> Date: Tue, 16 May 2023 12:49:38 +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/126879 _coding style issues_ ERROR:TRAILING_WHITESPACE: trailing whitespace #115: FILE: lib/kni/rte_kni.c:686: +^I/* First, getting allocation count from alloc_q. alloc_q is allocated in this function $ WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line #118: FILE: lib/kni/rte_kni.c:689: + * */ ERROR:SPACING: spaces required around that '?' (ctx:VxW) #127: FILE: lib/kni/rte_kni.c:696: + allocq_free = (allocq_free > MAX_MBUF_BURST_NUM )? MAX_MBUF_BURST_NUM : allocq_free; ^ ERROR:SPACING: space prohibited before that close parenthesis ')' #127: FILE: lib/kni/rte_kni.c:696: + allocq_free = (allocq_free > MAX_MBUF_BURST_NUM )? MAX_MBUF_BURST_NUM : allocq_free; ERROR:SPACING: space required before the open parenthesis '(' #130: FILE: lib/kni/rte_kni.c:699: + if(!allocq_count) { total: 4 errors, 1 warnings, 38 lines checked