|WARNING| pw143185 [PATCH] net/r8169: add PMD driver skeleton

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 15 07:29:28 CEST 2024


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#161: FILE: drivers/net/r8169/r8169_ethdev.c:6:
+#include <stdio.h>

ERROR:C99_COMMENTS: do not use C99 // comments
#275: FILE: drivers/net/r8169/r8169_ethdev.c:120:
+	//dev->tx_pkt_burst = &rtl_xmit_pkts;

ERROR:C99_COMMENTS: do not use C99 // comments
#276: FILE: drivers/net/r8169/r8169_ethdev.c:121:
+	//dev->rx_pkt_burst = &rtl_recv_pkts;

ERROR:CODE_INDENT: code indent should use tabs where possible
#314: FILE: drivers/net/r8169/r8169_ethdev.c:159:
+              struct rte_pci_device *pci_dev)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#314: FILE: drivers/net/r8169/r8169_ethdev.c:159:
+              struct rte_pci_device *pci_dev)$

ERROR:CODE_INDENT: code indent should use tabs where possible
#317: FILE: drivers/net/r8169/r8169_ethdev.c:162:
+^I                                     rtl_dev_init);$

total: 4 errors, 2 warnings, 0 checks, 265 lines checked


More information about the test-report mailing list