automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw130712 [PATCH 09/27] net/nfp: standard the blank character
       [not found] <20230824110956.1943559-10-chaoyong.he@corigine.com>
@ 2023-08-24 11:13 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2023-08-24 11:13 UTC (permalink / raw)
  To: test-report; +Cc: Chaoyong He

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects?
#192: 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
#1007: 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, 798 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-24 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230824110956.1943559-10-chaoyong.he@corigine.com>
2023-08-24 11:13 ` |WARNING| pw130712 [PATCH 09/27] 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).