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

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

_coding style issues_


WARNING:BAD_SIGN_OFF: Duplicate signature
#52: 
Signed-off-by: Wenbo Cao <caowenbo@mucse.com>

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

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

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#1078: FILE: drivers/net/rnp/base/rnp_osdep.h:39:
+#define ffs(x) (rte_fls_u32((x) & (-x)))

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#1132: 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
#1146: FILE: drivers/net/rnp/base/rnp_osdep.h:117:
+			"%"PRIu64, mz->name, mem->pa);

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

total: 0 errors, 2 warnings, 5 checks, 1423 lines checked
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-25  8:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1740472886-30411-6-git-send-email-caowenbo@mucse.com>
2025-02-25  8:48 ` |WARNING| pw151993 [PATCH v15 05/29] 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).