automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw116726 [PATCH v3 2/9] net/gve: add logs and OS specific implementation
       [not found] <20220923093829.3019525-3-junfeng.guo@intel.com>
@ 2022-09-23  9:41 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-09-23  9:41 UTC (permalink / raw)
  To: test-report; +Cc: Junfeng Guo

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#227: FILE: drivers/net/gve/gve_osdep.h:77:
+#define GVE_CHECK_STRUCT_LEN(n, X) enum gve_static_assert_enum_##X \
+	{ gve_static_assert_##X = (n) / ((sizeof(struct X) == (n)) ? 1 : 0) }

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#229: FILE: drivers/net/gve/gve_osdep.h:79:
+#define GVE_CHECK_UNION_LEN(n, X) enum gve_static_asset_enum_##X \
+	{ gve_static_assert_##X = (n) / ((sizeof(union X) == (n)) ? 1 : 0) }

total: 0 errors, 0 warnings, 2 checks, 205 lines checked

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

only message in thread, other threads:[~2022-09-23  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220923093829.3019525-3-junfeng.guo@intel.com>
2022-09-23  9:41 ` |WARNING| pw116726 [PATCH v3 2/9] net/gve: add logs and OS specific implementation 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).