automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Gagandeep Singh <g.singh@nxp.com>
Subject: [dpdk-test-report] |WARNING| pw103311 [PATCH v2 2/6] dma/dpaa: add device probe and remove functionality
Date: Mon,  1 Nov 2021 09:53:32 +0100 (CET)	[thread overview]
Message-ID: <20211101085332.BA7B9122142@dpdk.org> (raw)
In-Reply-To: <20211101085143.2472241-3-g.singh@nxp.com>

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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#350: FILE: drivers/dma/dpaa/dpaa_qdma.c:229:
+	if (ret) {
+		return ret;
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#476: FILE: drivers/dma/dpaa/dpaa_qdma.c:355:
+	if (unlikely(ccsr_qdma_fd < 0)) {
+		goto err;
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#487: FILE: drivers/dma/dpaa/dpaa_qdma.c:366:
+	if (fsl_qdma->ctrl_base == MAP_FAILED) {
+		goto err;
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#535: FILE: drivers/dma/dpaa/dpaa_qdma.c:413:
+	if (!dmadev) {
+		return -EINVAL;
+	}

WARNING:TYPO_SPELLING: 'SER' may be misspelled - perhaps 'SET'?
#681: FILE: drivers/dma/dpaa/dpaa_qdma.h:103:
+#define QDMA_CCDF_SER			BIT(30)

WARNING:TYPO_SPELLING: 'ser' may be misspelled - perhaps 'set'?
#734: FILE: drivers/dma/dpaa/dpaa_qdma.h:156:
+	__le32 status; /* ser, status */

total: 0 errors, 6 warnings, 696 lines checked
Warning in drivers/dma/dpaa/dpaa_qdma.c:
Using rte_atomicNN_xxx

           reply	other threads:[~2021-11-01  8:53 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20211101085143.2472241-3-g.singh@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=20211101085332.BA7B9122142@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=g.singh@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).