automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw32780 [PATCH v2 1/2] net/tap: add eBPF instructions to TAP device
       [not found] <1514455745-17349-2-git-send-email-ophirmu@mellanox.com>
@ 2017-12-28 10:10 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-12-28 10:10 UTC (permalink / raw)
  To: test-report; +Cc: Ophir Munk

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

_coding style issues_


CHECK:ARCH_DEFINES: architecture specific defines should be avoided
#815: FILE: drivers/net/tap/tap_bpf_insns.c:614:
+# if defined(__i386__)

CHECK:CAMELCASE: Avoid CamelCase: <IPv4>
#957: FILE: drivers/net/tap/tap_bpf_program.c:51:
+#define IPv4(a, b, c, d) ((__u32)(((a) & 0xff) << 24) | \

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(a)
#1128: FILE: drivers/net/tap/tap_flow.h:53:
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'a' - possible side-effects?
#1128: FILE: drivers/net/tap/tap_flow.h:53:
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))

total: 0 errors, 1 warnings, 3 checks, 1054 lines checked

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

only message in thread, other threads:[~2017-12-28 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1514455745-17349-2-git-send-email-ophirmu@mellanox.com>
2017-12-28 10:10 ` [dpdk-test-report] |WARNING| pw32780 [PATCH v2 1/2] net/tap: add eBPF instructions to TAP device 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).