* |WARNING| pw151249 [PATCH v8 05/28] net/rnp: add device init and uninit
[not found] <1739172415-48507-6-git-send-email-caowenbo@mucse.com>
@ 2025-02-10 7:29 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-02-10 7:29 UTC (permalink / raw)
To: test-report; +Cc: Wenbo Cao
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/151249
_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>
#1126: FILE: drivers/net/rnp/base/rnp_osdep.h:105:
+ snprintf(z_name, sizeof(z_name), "rnp_dma_%" PRIu64,
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#1140: FILE: drivers/net/rnp/base/rnp_osdep.h:119:
+ "%"PRIu64, mz->name, mem->pa);
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#1150: FILE: drivers/net/rnp/base/rnp_osdep.h:129:
+ "%"PRIu64, ((const struct rte_memzone *)mem->mz)->name,
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#1232: 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, 1425 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-10 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1739172415-48507-6-git-send-email-caowenbo@mucse.com>
2025-02-10 7:29 ` |WARNING| pw151249 [PATCH v8 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).