* [dpdk-test-report] |WARNING| pw28242 [PATCH v2 43/51] net/mlx4: separate device control functions
[not found] <5bdc0fc71b9aac79ef9f28594a13274396995839.1504252977.git.adrien.mazarguil@6wind.com>
@ 2017-09-01 8:18 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-09-01 8:18 UTC (permalink / raw)
To: test-report; +Cc: Adrien Mazarguil
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/28242
_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?
#1720: FILE: drivers/net/mlx4/mlx4_utils.h:102:
+#define MKSTR(name, ...) \
+ char name[snprintf(NULL, 0, __VA_ARGS__) + 1]; \
+ \
+ snprintf(name, sizeof(name), __VA_ARGS__)
total: 0 errors, 2 warnings, 1 checks, 1664 lines checked
^ permalink raw reply [flat|nested] only message in thread