[dpdk-test-report] |WARNING| pw20444 [PATCHv7 03/47] common/dpaa2: adding qbman driver

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Feb 15 20:06:43 CET 2017


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

_coding style issues_


WARNING:TYPECAST_INT_CONSTANT: Unnecessary typecast of c90 int constant
#666: FILE: drivers/common/dpaa2/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
#3978: 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
#3979: FILE: drivers/common/dpaa2/qbman/qbman_private.h:164:
+	unsigned long end = (p + sz + 15) & ~(unsigned long)15;

total: 0 errors, 3 warnings, 4229 lines checked


More information about the test-report mailing list