|WARNING| pw153040 [PATCH 2/3] rust: split main into example, refactor to lib.rs

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 18 15:24:21 CEST 2025


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

_coding style issues_


WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#91: FILE: rust_api_example/examples/eth_poll.rs:7:
+    let mut dpdk = dpdk::Eal::init().expect("dpdk must init ok");

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#94: FILE: rust_api_example/examples/eth_poll.rs:10:
+    let mut ports = dpdk.take_eth_ports().expect("take eth ports ok");

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#95: FILE: rust_api_example/examples/eth_poll.rs:11:
+    let mut p = ports.pop().unwrap();

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#100: FILE: rust_api_example/examples/eth_poll.rs:16:
+    let (mut rxqs, _txqs) = p.start();

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#107: FILE: rust_api_example/examples/eth_poll.rs:23:
+        let mut rxq = rxq1.enable_polling();

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#109: FILE: rust_api_example/examples/eth_poll.rs:25:
+            let _nb_mbufs = rxq.rx_burst(&mut [0; 32]);

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#114: FILE: rust_api_example/examples/eth_poll.rs:30:
+    let mut rxq = rxq2.enable_polling();

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#116: FILE: rust_api_example/examples/eth_poll.rs:32:
+        let _nb_mbufs = rxq.rx_burst(&mut [0; 32]);

total: 0 errors, 9 warnings, 38 lines checked


More information about the test-report mailing list