[dpdk-test-report] |WARNING| pw27356 [PATCH v1 42/48] net/mlx4: separate device control functions
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Aug 1 19:05:54 CEST 2017
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/27356
_coding style issues_
WARNING:FUNCTION_ARGUMENTS: function definition argument 'char' should also have an identifier name
#884: FILE: drivers/net/mlx4/mlx4.h:124:
+int mlx4_get_ifname(const struct priv *priv, char (*ifname)[IF_NAMESIZE]);
WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint8_t' should also have an identifier name
#885: FILE: drivers/net/mlx4/mlx4.h:125:
+int mlx4_get_mac(struct priv *priv, uint8_t (*mac)[ETHER_ADDR_LEN]);
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects?
#1719: FILE: drivers/net/mlx4/mlx4_utils.h:96:
+#define MKSTR(name, ...) \
+ char name[snprintf(NULL, 0, __VA_ARGS__) + 1]; \
+ \
+ snprintf(name, sizeof(name), __VA_ARGS__)
total: 0 errors, 2 warnings, 1 checks, 1663 lines checked
More information about the test-report
mailing list