automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw116103 [Patch v8 01/18] net/mana: add basic driver with build environment and doc
       [not found] <1662674189-29524-1-git-send-email-longli@linuxonhyperv.com>
@ 2022-09-08 21:58 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-09-08 21:58 UTC (permalink / raw)
  To: test-report; +Cc: longli

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects?
#264: FILE: drivers/net/mana/mana.c:35:
+#define MANA_MKSTR(name, ...) \
+	int mkstr_size_##name = snprintf(NULL, 0, "" __VA_ARGS__); \
+	char name[mkstr_size_##name + 1]; \
+	\
+	memset(name, 0, mkstr_size_##name + 1); \
+	snprintf(name, sizeof(name), "" __VA_ARGS__)

CHECK:CAMELCASE: Avoid CamelCase: <SCNx32>
#445: FILE: drivers/net/mana/mana.c:216:
+			   "%" SCNx32 ":%" SCNx8 ":%" SCNx8 ".%" SCNx8 "
",

CHECK:CAMELCASE: Avoid CamelCase: <SCNx8>
#445: FILE: drivers/net/mana/mana.c:216:
+			   "%" SCNx32 ":%" SCNx8 ":%" SCNx8 ".%" SCNx8 "
",

total: 0 errors, 0 warnings, 3 checks, 1328 lines checked

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

only message in thread, other threads:[~2022-09-08 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1662674189-29524-1-git-send-email-longli@linuxonhyperv.com>
2022-09-08 21:58 ` |WARNING| pw116103 [Patch v8 01/18] net/mana: add basic driver with build environment and doc 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).