automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw117470 [v2 10/19] net/mlx5/hws: Add HWS pool and buddy
       [not found] <20221006150325.660-11-valex@nvidia.com>
@ 2022-10-06 15:09 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-10-06 15:09 UTC (permalink / raw)
  To: test-report; +Cc: Alex Vesker

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117470

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#211: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:67:
+		DR_LOG(ERR, "Unexpected bit (%d < %"PRIx64") from bitmap", pos, n);

CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#211: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:67:
+		DR_LOG(ERR, "Unexpected bit (%d < %"PRIx64") from bitmap", pos, n);

WARNING:BRACES: braces {} are not necessary for single statement blocks
#289: FILE: drivers/net/mlx5/hws/mlx5dr_buddy.c:145:
+	for (i = 0; i <= (int)buddy->max_order; ++i) {
+		rte_free(buddy->bits[i]);
+	}

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#496: 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)
#747: 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)
#769: 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)
#777: 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)
#800: 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)
#804: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:425:
+	return ENOMEM;

WARNING:TYPO_SPELLING: 'elemnt' may be misspelled - perhaps 'element'?
#848: 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'?
#938: FILE: drivers/net/mlx5/hws/mlx5dr_pool.c:559:
+		DR_LOG(ERR, "No mem for general elemnt_manager");

total: 0 errors, 9 warnings, 2 checks, 1047 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-06 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221006150325.660-11-valex@nvidia.com>
2022-10-06 15:09 ` |WARNING| pw117470 [v2 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).