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 9C301A0352 for ; Sat, 25 Dec 2021 00:01:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F08040683; Sat, 25 Dec 2021 00:01:31 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 5FE154067B for ; Sat, 25 Dec 2021 00:01:30 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 499EC120D7B; Sat, 25 Dec 2021 00:01:30 +0100 (CET) Subject: |WARNING| pw105406 [PATCH 1/1] mempool: implement index-based per core cache In-Reply-To: <20211224225923.806498-2-dharmik.thakkar@arm.com> References: <20211224225923.806498-2-dharmik.thakkar@arm.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Dharmik Thakkar Message-Id: <20211224230130.499EC120D7B@dpdk.org> Date: Sat, 25 Dec 2021 00:01:30 +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/105406 _coding style issues_ WARNING:BRACES: braces {} are not necessary for single statement blocks #160: FILE: lib/mempool/rte_mempool.h:1399: + if (n & 0x1) { + cache_objs[i] = (uint32_t) RTE_PTR_DIFF(obj_table[i], base_value); + } WARNING:BRACES: braces {} are not necessary for single statement blocks #164: FILE: lib/mempool/rte_mempool.h:1403: + for (i = 0; i < n; i++) { + cache_objs[i] = (uint32_t) RTE_PTR_DIFF(obj_table[i], base_value); + } total: 0 errors, 2 warnings, 205 lines checked