* |WARNING| pw131616 [PATCH v5 08/26] net/nfp: standard the blank character
[not found] <20230919095440.45445-9-chaoyong.he@corigine.com>
@ 2023-09-19 9:58 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-09-19 9:58 UTC (permalink / raw)
To: test-report; +Cc: Chaoyong He
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-19 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230919095440.45445-9-chaoyong.he@corigine.com>
2023-09-19 9:58 ` |WARNING| pw131616 [PATCH v5 08/26] net/nfp: standard the blank character checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).