automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw114665 [PATCH v5 05/12] net/nfp: add flower PF setup and mempool init logic
       [not found] <1659681155-16525-6-git-send-email-chaoyong.he@corigine.com>
@ 2022-08-05  6:34 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-05  6:34 UTC (permalink / raw)
  To: test-report; +Cc: Chaoyong He

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'Y' - possible side-effects?
#614: FILE: drivers/net/nfp/flower/nfp_flower_ovs_compat.h:15:
+#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MEMBERS' - possible side-effects?
#619: FILE: drivers/net/nfp/flower/nfp_flower_ovs_compat.h:20:
+#define PADDED_MEMBERS_CACHELINE_MARKER(UNIT, CACHELINE, MEMBERS)   \
+	union {                                                         \
+		OVS_CACHE_LINE_MARKER CACHELINE;                            \
+		struct { MEMBERS };                                         \
+		uint8_t PAD_ID[ROUND_UP(sizeof(struct { MEMBERS }), UNIT)]; \
+	}

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MEMBERS' - possible side-effects?
#626: FILE: drivers/net/nfp/flower/nfp_flower_ovs_compat.h:27:
+#define PADDED_MEMBERS_CACHELINE_MARKER(UNIT, CACHELINE, MEMBERS)           \
+	struct struct_##CACHELINE { MEMBERS };                                  \
+	union {                                                                 \
+		OVS_CACHE_LINE_MARKER CACHELINE;                                    \
+		struct { MEMBERS };                                                 \
+		uint8_t PAD_ID[ROUND_UP(sizeof(struct struct_##CACHELINE), UNIT)];  \
+	}

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

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

only message in thread, other threads:[~2022-08-05  6:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1659681155-16525-6-git-send-email-chaoyong.he@corigine.com>
2022-08-05  6:34 ` |WARNING| pw114665 [PATCH v5 05/12] net/nfp: add flower PF setup and mempool init logic 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).