[dpdk-test-report] |WARNING| pw19874 [PATCHv6 02/33] drivers/common/dpaa2: adding qbman driver

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 23 13:00:54 CET 2017


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

_coding style issues_


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

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

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

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

total: 0 errors, 4 warnings, 4243 lines checked


More information about the test-report mailing list