[dpdk-test-report] |WARNING| pw23354 [PATCH v3 03/21] bus/fslmc: add QBMAN driver to bus

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Apr 9 09:49:34 CEST 2017


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

_coding style issues_


WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#395: 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
#3707: 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
#3708: 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