automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw151301 [PATCH v9 05/28] net/rnp: add device init and uninit
       [not found] <1739263818-59770-6-git-send-email-caowenbo@mucse.com>
@ 2025-02-11  8:51 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-02-11  8:51 UTC (permalink / raw)
  To: test-report; +Cc: Wenbo Cao

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

_coding style issues_


WARNING:TYPO_SPELLING: 'alloced' may be misspelled - perhaps 'allocated'?
#564: FILE: drivers/net/rnp/base/rnp_hw.h:73:
+	bool msg_alloced;

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'f' - possible side-effects?
#570: FILE: drivers/net/rnp/base/rnp_hw.h:79:
+#define rnp_call_hwif_impl(port, f, arg...) \
+	(((f) != NULL) ? ((f) (port, arg)) : (-ENODEV))

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#1124: FILE: drivers/net/rnp/base/rnp_osdep.h:103:
+		snprintf(z_name, sizeof(z_name), "rnp_dma_%" PRIu64,

CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#1138: FILE: drivers/net/rnp/base/rnp_osdep.h:117:
+			"%"PRIu64, mz->name, mem->pa);

CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#1148: FILE: drivers/net/rnp/base/rnp_osdep.h:127:
+			"%"PRIu64, ((const struct rte_memzone *)mem->mz)->name,

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#1230: FILE: drivers/net/rnp/rnp.h:62:
+#define RNP_PF_OWN_PORTS(id)	(((id) == 0) ? 1 : (((id) == 1) ? 2 : 4))

total: 0 errors, 1 warnings, 5 checks, 1423 lines checked
Warning in drivers/net/rnp/base/rnp_osdep.h:
Using compiler attribute directly
Warning in drivers/net/rnp/base/rnp_hw.h:
Do not use variadic argument pack in macros

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

only message in thread, other threads:[~2025-02-11  8:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1739263818-59770-6-git-send-email-caowenbo@mucse.com>
2025-02-11  8:51 ` |WARNING| pw151301 [PATCH v9 05/28] net/rnp: add device init and uninit 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).