* [dpdk-test-report] |WARNING| pw50364 [4/5] net/virtio: introduce a helper for clearing net header
[not found] <20190219105951.31046-5-tiwei.bie@intel.com>
@ 2019-02-19 11:02 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-02-19 11:02 UTC (permalink / raw)
To: test-report; +Cc: Tiwei Bie
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/50364
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse '_hdr' - possible side-effects?
#34: FILE: drivers/net/virtio/virtio_rxtx.c:522:
+#define virtqueue_clear_net_hdr(_hdr) do { \
+ ASSIGN_UNLESS_EQUAL((_hdr)->csum_start, 0); \
+ ASSIGN_UNLESS_EQUAL((_hdr)->csum_offset, 0); \
+ ASSIGN_UNLESS_EQUAL((_hdr)->flags, 0); \
+ ASSIGN_UNLESS_EQUAL((_hdr)->gso_type, 0); \
+ ASSIGN_UNLESS_EQUAL((_hdr)->gso_size, 0); \
+ ASSIGN_UNLESS_EQUAL((_hdr)->hdr_len, 0); \
+} while (0)
total: 0 errors, 0 warnings, 1 checks, 70 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-19 11:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20190219105951.31046-5-tiwei.bie@intel.com>
2019-02-19 11:02 ` [dpdk-test-report] |WARNING| pw50364 [4/5] net/virtio: introduce a helper for clearing net header 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).