|WARNING| pw151449 [PATCH v1 04/16] net/zxdh: update rx/tx to latest

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 13 07:55:58 CET 2025


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

_coding style issues_


WARNING:TYPO_SPELLING: 'FALG' may be misspelled - perhaps 'FLAG'?
#567: FILE: drivers/net/zxdh/zxdh_rxtx.c:94:
+#define ZXDH_PI_LRO_FALG    0x00000001

ERROR:C99_COMMENTS: do not use C99 // comments
#998: FILE: drivers/net/zxdh/zxdh_rxtx.c:479:
+			//num -= dxp->ndescs;

WARNING:TYPO_SPELLING: 'FALG' may be misspelled - perhaps 'FLAG'?
#1256: FILE: drivers/net/zxdh/zxdh_rxtx.c:739:
+		if (ntohl(pi_hdr->ul.lro_flag) & ZXDH_PI_LRO_FALG)

WARNING:TYPO_SPELLING: 'PSEDUO' may be misspelled - perhaps 'PSEUDO'?
#1486: FILE: drivers/net/zxdh/zxdh_rxtx.h:23:
+#define ZXDH_RX_PSEDUO_CKSUM_VALID                  0x02

total: 1 errors, 3 warnings, 0 checks, 1368 lines checked
__rte_packed_begin and __rte_packed_end should always be used in pairs.


More information about the test-report mailing list