[dpdk-test-report] |WARNING| pw103311 [PATCH v2 2/6] dma/dpaa: add device probe and remove functionality

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 1 09:53:32 CET 2021


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


More information about the test-report mailing list