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 9CDFEA0543 for ; Thu, 22 Sep 2022 21:09:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A9DB40150; Thu, 22 Sep 2022 21:09:12 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id C9888400D7 for ; Thu, 22 Sep 2022 21:09:10 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id C4EFA121F02; Thu, 22 Sep 2022 21:09:10 +0200 (CEST) Subject: |WARNING| pw116673 [v1 10/19] net/mlx5/hws: Add HWS pool and buddy In-Reply-To: <20220922190345.394-11-valex@nvidia.com> References: <20220922190345.394-11-valex@nvidia.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Alex Vesker Message-Id: <20220922190910.C4EFA121F02@dpdk.org> Date: Thu, 22 Sep 2022 21:09:10 +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/116673 _coding style issues_ CHECK:SPACING: No space is necessary after a cast #240: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:97: + for (i = 0; i <= (int) buddy->max_order; ++i) { CHECK:SPACING: No space is necessary after a cast #254: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:111: + for (i = 0; i <= (int) buddy->max_order; ++i) CHECK:SPACING: No space is necessary after a cast #288: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:145: + for (i = 0; i <= (int) buddy->max_order; ++i) { WARNING:BRACES: braces {} are not necessary for single statement blocks #288: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:145: + for (i = 0; i <= (int) buddy->max_order; ++i) { + rte_free(buddy->bits[i]); + } CHECK:SPACING: No space is necessary after a cast #301: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:158: + for (o = order; o <= (int) buddy->max_order; ++o) WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns #352: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.h:2: + * Copyright (c) Copyright (c) 2022 NVIDIA Corporation 2021 NVIDIA CORPORATION. All rights reserved. Affiliates WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns #376: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:2: + * Copyright (c) Copyright (c) 2022 NVIDIA Corporation 2021 NVIDIA CORPORATION. All rights reserved. Affiliates WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #491: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:117: + return ENOMEM; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #742: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:368: + return ENOMEM; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #764: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:390: + return ENOMEM; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #772: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:398: + return ENOMEM; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #795: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:421: + return ENOMEM; WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM) #799: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:425: + return ENOMEM; WARNING:TYPO_SPELLING: 'elemnt' may be misspelled - perhaps 'element'? #843: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:469: + DR_LOG(ERR, "No mem for general elemnt_manager"); WARNING:TYPO_SPELLING: 'elemnt' may be misspelled - perhaps 'element'? #933: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:559: + DR_LOG(ERR, "No mem for general elemnt_manager"); WARNING:LONG_LINE_COMMENT: line length of 111 exceeds 100 columns #1054: FILE: drivers/net/mlx5/hws/mlx5dr_pool.h:2: + * Copyright (c) Copyright (c) 2022 NVIDIA Corporation 2021 NVIDIA CORPORATION. All rights reserved. Affiliates total: 0 errors, 12 warnings, 4 checks, 1043 lines checked Warning in drivers/net/mlx5/hws/mlx5dr_buddy.c: Using %l format, prefer %PRI*64 if type is [u]int64_t