[dpdk-test-report] |WARNING| pw18164 [PATCHv2 04/34] drivers/common/dpaa2: adding qbman driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Dec 19 16:21:27 CET 2016
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/18164
_coding style issues_
WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#687: 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)
#2859: 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
#3982: 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
#3983: FILE: drivers/common/dpaa2/qbman/qbman_private.h:161:
+ unsigned long end = (p + sz + 15) & ~(unsigned long)15;
total: 0 errors, 4 warnings, 4213 lines checked
More information about the test-report
mailing list