[dpdk-test-report] |WARNING| pw19784 [PATCHv5 03/33] drivers/common/dpaa2: adding qbman driver

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 19 14:25:28 CET 2017


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

_coding style issues_


WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#687: FILE: drivers/common/dpaa2/qbman/include/compat.h:310:
+#define BITS_MASK(idx)	((unsigned long)1 << ((idx) & (BITS_PER_ULONG - 1)))

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#2860: FILE: drivers/common/dpaa2/qbman/qbman_portal.c:815:
+	if ((response_verb == QBMAN_RESULT_DQ) &&
[...]
+			atomic_inc(&s->vdq.busy);

WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#3983: FILE: drivers/common/dpaa2/qbman/qbman_private.h:160:
+	unsigned long start = p & ~(unsigned long)15;

WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#3984: FILE: drivers/common/dpaa2/qbman/qbman_private.h:161:
+	unsigned long end = (p + sz + 15) & ~(unsigned long)15;

total: 0 errors, 4 warnings, 4219 lines checked


More information about the test-report mailing list