[dpdk-test-report] |WARNING| pw21183 [PATCHv8 04/46] bus/fslmc: add QBMAN driver to bus

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 3 08:14:09 CET 2017


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

_coding style issues_


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

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

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

total: 0 errors, 3 warnings, 4101 lines checked


More information about the test-report mailing list