|WARNING| pw152832 [RFC PATCH] add rust binding support to DPDK

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Apr 8 17:00:31 CEST 2025


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

_coding style issues_


WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#71: 
be cloned and built as a rust crate - all-be-it one with only two

WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#147: FILE: buildtools/rust/build.rs:5:
+extern crate meson_next as meson;

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#169: FILE: buildtools/rust/build.rs:27:
+    let mut bindings = bindgen::Builder::default();

WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#178: FILE: buildtools/rust/build.rs:36:
+        // Tell cargo to invalidate the built crate whenever any of the

WARNING:TYPO_SPELLING: 'Couldn' may be misspelled - perhaps 'Could'?
#186: FILE: buildtools/rust/build.rs:44:
+        .expect("Couldn't write bindings!");

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#269: FILE: buildtools/rust/lib.rs:18:
+	let mut argv = [appname.into_raw()];

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#271: FILE: buildtools/rust/lib.rs:20:
+		rte_eal_init(argv.len().try_into().unwrap(), argv.as_mut_ptr())

total: 0 errors, 7 warnings, 159 lines checked


More information about the test-report mailing list