* [dpdk-test-report] |WARNING| pw36464 [PATCH 1/4] net/nfp: add NFP CPP support
[not found] <1521826504-20195-2-git-send-email-alejandro.lucero@netronome.com>
@ 2018-03-23 17:36 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-03-23 17:36 UTC (permalink / raw)
To: test-report; +Cc: Alejandro Lucero
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/36464
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#899: FILE: drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h:53:
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects?
#1912: FILE: drivers/net/nfp/nfpcore/nfp_cpp.h:238:
+#define NFP_CPP_MODEL_IS_6000(model) \
+ ((NFP_CPP_MODEL_CHIP_of(model) >= 0x4000) && \
+ (NFP_CPP_MODEL_CHIP_of(model) < 0x7000))
CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#6171: FILE: drivers/net/nfp/nfpcore/nfp_nsp.c:252:
+ printf("Host buffer out of reach %08x %" PRIx64 "
",
CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#8020: FILE: drivers/net/nfp/nfpcore/nfp_rtsym.c:87:
+ printf(" name=%s, addr=%" PRIx64 ", size=%" PRIu64 ",target=%d
",
CHECK:CAMELCASE: Avoid CamelCase: <PRId64>
#8235: FILE: drivers/net/nfp/nfpcore/nfp_rtsym.c:302:
+ printf("rtsym '%s' unsupported size: %" PRId64 "
",
total: 0 errors, 0 warnings, 5 checks, 8748 lines checked
^ permalink raw reply [flat|nested] only message in thread