|WARNING| pw135603 [PATCH v3 15/18] net/bnxt: add 400G get support for P7 devices

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Dec 27 05:24:19 CET 2023


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

_coding style issues_


WARNING:TYPO_SPELLING: 'hsi' may be misspelled - perhaps 'his'?
#82: 
P7 devices report speeds over speeds2 hsi fields. Adding required

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'bp' - possible side-effects?
#129: FILE: drivers/net/bnxt/bnxt.h:1171:
+#define BNXT_LINK_SPEEDS_V2_VF(bp) (BNXT_VF((bp)) && ((bp)->link_info->option_flags))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'bp' - possible side-effects?
#130: FILE: drivers/net/bnxt/bnxt.h:1172:
+#define BNXT_LINK_SPEEDS_V2(bp) (((bp)->link_info) && (((bp)->link_info->support_speeds_v2) || \
+						       BNXT_LINK_SPEEDS_V2_VF((bp))))

WARNING:TYPO_SPELLING: 'CAS' may be misspelled - perhaps 'CASE'?
#270: FILE: drivers/net/bnxt/bnxt_hwrm.c:102:
+ * Add a unique entry for a new PHY attribs as per HW CAS.

total: 0 errors, 2 warnings, 2 checks, 729 lines checked


More information about the test-report mailing list