[dpdk-test-report] |WARNING| pw57980 [PATCH v1 05/13] net/ppfe: add HW specific macros and operations

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Aug 26 15:18:03 CEST 2019


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

_coding style issues_


WARNING:UNNECESSARY_INT: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary
#1283: FILE: drivers/net/ppfe/base/pfe.h:161:
+#define DDR_PHYS_TO_PFE(p)	(((unsigned long int)(p)) & 0x7FFFFFFF)

WARNING:UNNECESSARY_INT: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary
#1284: FILE: drivers/net/ppfe/base/pfe.h:162:
+#define DDR_PFE_TO_PHYS(p)	(((unsigned long int)(p)) | 0x80000000)

WARNING:UNNECESSARY_INT: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary
#1295: FILE: drivers/net/ppfe/base/pfe.h:173:
+#define CBUS_PFE_TO_VIRT(p)	(((unsigned long int)(p) - \

total: 0 errors, 3 warnings, 0 checks, 1354 lines checked


More information about the test-report mailing list