automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Apeksha Gupta <apeksha.gupta@nxp.com>
Subject: [dpdk-test-report] |WARNING| pw92455 [PATCH 2/4] drivers/net/enetfec: UIO support added
Date: Fri, 30 Apr 2021 06:36:17 +0200 (CEST)	[thread overview]
Message-ID: <20210430043617.190C8121159@dpdk.org> (raw)
In-Reply-To: <20210430043424.19752-3-apeksha.gupta@nxp.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'feild' may be misspelled - perhaps 'field'?
#107: FILE: drivers/net/enetfec/enet_ethdev.c:40:
+/* Pause frame feild and FIFO threshold */

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#374: FILE: drivers/net/enetfec/enet_regs.h:55:
+#define ENET_RD_START(X)	(((X) == 1) ? ENET_RD_START_1 : \
+				(((X) == 2) ? \
+					ENET_RD_START_2 : ENET_RD_START_0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#377: FILE: drivers/net/enetfec/enet_regs.h:58:
+#define ENET_TD_START(X)	(((X) == 1) ? ENET_TD_START_1 : \
+				(((X) == 2) ? \
+					ENET_TD_START_2 : ENET_TD_START_0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#380: FILE: drivers/net/enetfec/enet_regs.h:61:
+#define ENET_MRB_SIZE(X)	(((X) == 1) ? ENET_MRB_SIZE_1 : \
+				(((X) == 2) ? \
+					ENET_MRB_SIZE_2 : ENET_MRB_SIZE_0))

WARNING:TYPO_SPELLING: 'succes' may be misspelled - perhaps 'success'?
#536: FILE: drivers/net/enetfec/enet_uio.c:32:
+ * @retval 0 for succes

total: 0 errors, 2 warnings, 3 checks, 668 lines checked

           reply	other threads:[~2021-04-30  4:36 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20210430043424.19752-3-apeksha.gupta@nxp.com>]

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=20210430043617.190C8121159@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=apeksha.gupta@nxp.com \
    --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).