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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Apr 11 15:38:46 CEST 2017


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

_coding style issues_


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

ERROR:SPACING: space prohibited after that open parenthesis '('
#3644: FILE: drivers/bus/fslmc/qbman/qbman_private.h:95:
+#define MAKE_MASK32(width) ((uint32_t)(( 1ULL << width) - 1))

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

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

total: 1 errors, 3 warnings, 4109 lines checked


More information about the test-report mailing list