[dpdk-test-report] |WARNING| pw22279 [PATCH v2 04/22] bus/fslmc: add QBMAN driver to bus

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Mar 26 23:56:24 CEST 2017


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

_coding style issues_


WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#397: 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
#3709: 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
#3710: 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