[dpdk-test-report] |WARNING| pw30082 [PATCH v2] ethdev: add return value to stats get dev op

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 10 22:21:15 CEST 2017


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

_coding style issues_


CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#572: FILE: drivers/net/enic/enic.h:290:
+extern int enic_dev_stats_get(struct enic *enic,

WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct rte_eth_dev *' should also have an identifier name
#901: FILE: drivers/net/mlx5/mlx5.h:239:
+int mlx5_stats_get(struct rte_eth_dev *, struct rte_eth_stats *);

WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct rte_eth_stats *' should also have an identifier name
#901: FILE: drivers/net/mlx5/mlx5.h:239:
+int mlx5_stats_get(struct rte_eth_dev *, struct rte_eth_stats *);

total: 0 errors, 2 warnings, 975 lines checked


More information about the test-report mailing list