* |WARNING| pw153150 [PATCH 04/13] net/sxe: add link, flow ctrl, mac ops, mtu ops function
[not found] <20250425023652.37368-4-liujie5@linkdatatechnology.com>
@ 2025-04-25 10:03 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-04-25 10:03 UTC (permalink / raw)
To: test-report; +Cc: Jie Liu
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/153150
_coding style issues_
WARNING:TYPO_SPELLING: 'unsupport' may be misspelled - perhaps 'unsupported'?
#328: FILE: drivers/net/sxe/pf/sxe_ethdev.c:273:
+ PMD_LOG_ERR(INIT, "unsupport loopback mode:%u.",
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects?
#616: FILE: drivers/net/sxe/pf/sxe_filter.c:28:
+#define SXE_STRIP_BITMAP_SET(h, q) \
+ do { \
+ u32 idx = (q) / (sizeof((h)->strip_bitmap[0]) * BYTE_BIT_NUM); \
+ u32 bit = (q) % (sizeof((h)->strip_bitmap[0]) * BYTE_BIT_NUM); \
+ (h)->strip_bitmap[idx] |= 1 << bit;\
+ } while (0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects?
#623: FILE: drivers/net/sxe/pf/sxe_filter.c:35:
+#define SXE_STRIP_BITMAP_CLEAR(h, q) \
+ do {\
+ u32 idx = (q) / (sizeof((h)->strip_bitmap[0]) * BYTE_BIT_NUM); \
+ u32 bit = (q) % (sizeof((h)->strip_bitmap[0]) * BYTE_BIT_NUM); \
+ (h)->strip_bitmap[idx] &= ~(1 << bit);\
+ } while (0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects?
#630: FILE: drivers/net/sxe/pf/sxe_filter.c:42:
+#define SXE_STRIP_BITMAP_GET(h, q, r) \
+ do {\
+ u32 idx = (q) / (sizeof((h)->strip_bitmap[0]) * BYTE_BIT_NUM); \
+ u32 bit = (q) % (sizeof((h)->strip_bitmap[0]) * BYTE_BIT_NUM); \
+ (r) = (h)->strip_bitmap[idx] >> bit & 1;\
+ } while (0)
WARNING:TYPO_SPELLING: 'exsit' may be misspelled - perhaps 'exist'?
#1406: FILE: drivers/net/sxe/pf/sxe_phy.c:181:
+ PMD_LOG_INFO(INIT, "other link config thread exsit");
WARNING:TYPO_SPELLING: 'dont' may be misspelled - perhaps 'don't'?
#2023: FILE: drivers/net/sxe/pf/sxe_phy.c:798:
+ PMD_LOG_INFO(INIT, "link down, dont fc autoneg");
WARNING:TYPO_SPELLING: 'dont' may be misspelled - perhaps 'don't'?
#2029: FILE: drivers/net/sxe/pf/sxe_phy.c:804:
+ "dont fc autoneg", link_speed);
WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email name mismatch: 'From: JieLiu <liujie5@linkdatatechnology.com>' != 'Signed-off-by: Jie Liu <liujie5@linkdatatechnology.com>'
total: 0 errors, 5 warnings, 3 checks, 2186 lines checked
Warning in drivers/net/sxe/pf/sxe_ethdev.c:
Warning in drivers/net/sxe/pf/sxe_irq.c:
Warning in drivers/net/sxe/pf/sxe_phy.c:
Using rte_atomicNN_xxx
Warning in drivers/net/sxe/pf/sxe_ethdev.c:
Warning in drivers/net/sxe/pf/sxe_irq.c:
Warning in drivers/net/sxe/pf/sxe_phy.c:
Using __atomic_xxx/__ATOMIC_XXX built-ins, prefer rte_atomic_xxx/rte_memory_order_xxx
Warning in drivers/net/sxe/pf/sxe_phy.c:
Using pthread functions, prefer rte_thread
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-25 10:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20250425023652.37368-4-liujie5@linkdatatechnology.com>
2025-04-25 10:03 ` |WARNING| pw153150 [PATCH 04/13] net/sxe: add link, flow ctrl, mac ops, mtu ops function 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).