|WARNING| pw131616 [PATCH v5 08/26] net/nfp: standard the blank character
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Sep 19 11:58:57 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/131616
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects?
#169: FILE: drivers/net/nfp/nfpcore/nfp_cpp.h:284:
+#define NFP_CPP_MODEL_IS_6000(model) \
((NFP_CPP_MODEL_CHIP_of(model) >= 0x3800) && \
(NFP_CPP_MODEL_CHIP_of(model) < 0x7000))
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1002: FILE: drivers/net/nfp/nfpcore/nfp_resource.c:46:
+#define NFP_RESOURCE_TBL_ENTRIES (int)(NFP_RESOURCE_TBL_SIZE / \
+ sizeof(struct nfp_resource_entry))
total: 1 errors, 0 warnings, 1 checks, 811 lines checked
More information about the test-report
mailing list