automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-test-report] |WARNING| pw32920 [PATCH RFC 3/3] net: add hyper-v network device
Date: Fri,  5 Jan 2018 00:17:05 +0100 (CET)	[thread overview]
Message-ID: <20180104231705.092F91B01F@dpdk.org> (raw)
In-Reply-To: <20180104231636.30573-4-stephen@networkplumber.org>

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

_coding style issues_


WARNING:MAINTAINERS_STYLE: MAINTAINERS entries use one tab after TYPE:
#64: FILE: MAINTAINERS:403:
+M: Stephen Hemminger <sthemmin@microsoft.com>

WARNING:MAINTAINERS_STYLE: MAINTAINERS entries use one tab after TYPE:
#65: FILE: MAINTAINERS:404:
+M: K. Y. Srinivasan" <kys@microsoft.com>

WARNING:MAINTAINERS_STYLE: MAINTAINERS entries use one tab after TYPE:
#66: FILE: MAINTAINERS:405:
+M: Haiyang Zhang <haiyangz@microsoft.com>

WARNING:MAINTAINERS_STYLE: MAINTAINERS entries use one tab after TYPE:
#67: FILE: MAINTAINERS:406:
+F: drivers/net/hyperv/

WARNING:MAINTAINERS_STYLE: MAINTAINERS entries use one tab after TYPE:
#68: FILE: MAINTAINERS:407:
+F: doc/guides/nics/hyperv.rst

CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#510: FILE: drivers/net/hyperv/hn_ethdev.c:287:
+			    "unsupported TX offload: %#" PRIx64,

CHECK:CAMELCASE: Avoid CamelCase: <PRIx32>
#2393: FILE: drivers/net/hyperv/hn_rndis.c:696:
+		PMD_DRV_LOG(ERR, "exec RNDIS set %#" PRIx32 " failed",

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'ofs' - possible side-effects?
#3207: FILE: drivers/net/hyperv/hn_rxtx.c:448:
+#define IS_OFFSET_INVALID(ofs)			\
+	((ofs) < RNDIS_PACKET_MSG_OFFSET_MIN ||	\
+	 ((ofs) & RNDIS_PACKET_MSG_OFFSET_ALIGNMASK))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#3894: FILE: drivers/net/hyperv/hn_var.h:34:
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'd' - possible side-effects?
#3898: FILE: drivers/net/hyperv/hn_var.h:38:
+#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#4802: FILE: drivers/net/hyperv/rndis.h:416:
+#define	RNDIS_DATA_OFFSET	(sizeof(struct rndis_packet_msg) \
+				 - RNDIS_HEADER_OFFSET))

total: 1 errors, 5 warnings, 4671 lines checked

           reply	other threads:[~2018-01-04 23:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20180104231636.30573-4-stephen@networkplumber.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180104231705.092F91B01F@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).