automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: William Tu <u9012063@gmail.com>
Subject: [dpdk-test-report] |WARNING| pw96874 [PATCHv3] include: fix sys/queue.h.
Date: Thu, 12 Aug 2021 22:06:42 +0200 (CEST)	[thread overview]
Message-ID: <20210812200642.0AEF7120755@dpdk.org> (raw)
In-Reply-To: <20210812200528.60743-1-u9012063@gmail.com>

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

_coding style issues_


WARNING:BAD_SIGN_OFF: Duplicate signature
#112: 
Signed-off-by: William Tu <u9012063@gmail.com>

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#851: FILE: lib/eal/windows/include/rte_os.h:34:
+#define	TRACEBUF	struct qm_trace trace;

ERROR:SPACING: space prohibited before that ',' (ctx:WxE)
#852: FILE: lib/eal/windows/include/rte_os.h:35:
+#define	TRACEBUF_INITIALIZER	{ __LINE__, 0, __FILE__, NULL } ,
        	                    	                                ^

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#852: FILE: lib/eal/windows/include/rte_os.h:35:
+#define	TRACEBUF_INITIALIZER	{ __LINE__, 0, __FILE__, NULL } ,

ERROR:SPACING: space required after that ';' (ctx:VxV)
#877: FILE: lib/eal/windows/include/rte_os.h:60:
+#define	TRASHIT(x)		do {(x) = (void *)-1;} while (0)
        	          		                    ^

WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#877: FILE: lib/eal/windows/include/rte_os.h:60:
+#define	TRASHIT(x)		do {(x) = (void *)-1;} while (0)

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#942: FILE: lib/eal/windows/include/rte_os.h:125:
+^I^IRTE_TAILQ_NEXT((elm), field)->field.tqe_prev = ^I^I\$

total: 3 errors, 4 warnings, 796 lines checked

       reply	other threads:[~2021-08-12 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210812200528.60743-1-u9012063@gmail.com>
2021-08-12 20:06 ` checkpatch [this message]
2021-08-12 20:58 ` [dpdk-test-report] |SUCCESS| pw96874 [dpdk-dev] " 0-day Robot

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=20210812200642.0AEF7120755@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=u9012063@gmail.com \
    /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).