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 F21D742649 for ; Tue, 26 Sep 2023 23:01:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAAE5400D5; Tue, 26 Sep 2023 23:01:20 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 802D6400D5 for ; Tue, 26 Sep 2023 23:01:19 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 6DF27120999; Tue, 26 Sep 2023 23:01:19 +0200 (CEST) Subject: |WARNING| pw131984 [PATCH] common/mlx5: Optimize mlx5 mempool get extmem In-Reply-To: References: To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Aaron Conole Message-Id: <20230926210119.6DF27120999@dpdk.org> Date: Tue, 26 Sep 2023 23:01:19 +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/131984 _coding style issues_ WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #165: FILE: drivers/common/mlx5/mlx5_common_mr.c:1420: + unsigned out_size = 1; WARNING:SIZEOF_PARENTHESIS: sizeof heap[0] should be sizeof(heap[0]) #179: FILE: drivers/common/mlx5/mlx5_common_mr.c:1429: + qsort(heap, mp->size, sizeof heap[0], mlx5_range_compare_start); WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #181: FILE: drivers/common/mlx5/mlx5_common_mr.c:1431: + for (unsigned i = 1; i < mp->size; i ++) ERROR:SPACING: space prohibited before that '++' (ctx:WxB) #181: FILE: drivers/common/mlx5/mlx5_common_mr.c:1431: + for (unsigned i = 1; i < mp->size; i ++) ^ ERROR:SPACING: space prohibited before that '++' (ctx:WxB) #183: FILE: drivers/common/mlx5/mlx5_common_mr.c:1433: + heap[out_size ++] = heap[i]; ^ total: 2 errors, 3 warnings, 98 lines checked