* |WARNING| pw116673 [v1 10/19] net/mlx5/hws: Add HWS pool and buddy
[not found] <20220922190345.394-11-valex@nvidia.com>
@ 2022-09-22 19:09 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-09-22 19:09 UTC (permalink / raw)
To: test-report; +Cc: Alex Vesker
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-22 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220922190345.394-11-valex@nvidia.com>
2022-09-22 19:09 ` |WARNING| pw116673 [v1 10/19] net/mlx5/hws: Add HWS pool and buddy checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).