automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Gregory Etelson <getelson@nvidia.com>
Subject: |WARNING| pw152525 [PATCH v4] rust: support raw DPDK API
Date: Sat, 22 Mar 2025 12:00:59 +0100 (CET)	[thread overview]
Message-ID: <20250322110059.6CF41127189@dpdk.org> (raw)
In-Reply-To: <20250322105911.12378-1-getelson@nvidia.com>

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

_coding style issues_


WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#124: 
RUST API files into raw module under dpdk crate.

WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#129: 
RUST DPDK application must specify the `dpdk` crate as

WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#132: 
RUST `dpdk` crate is installed into

WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#138: 
- bindgen-cli crate

WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#143: 
   $MESON_INSTALL_DESTDIR_PREFIX/$libdir/rust crate.

WARNING:TYPO_SPELLING: 'coversion' may be misspelled - perhaps 'conversion'?
#196: FILE: buildtools/rust-env.sh:6:
+# The coversion is done in 4 stages:

WARNING:TYPO_SPELLING: 'crate' may be misspelled - perhaps 'create'?
#286: FILE: buildtools/rust-env.sh:96:
+echo "Install RUST DPDK crate in $rust_dir"

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#309: FILE: examples/rust/helloworld/build.rs:4:
+    let mut pkgconfig = Command::new("pkg-config");

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#405: FILE: examples/rust/helloworld/src/main.rs:70:
+    pub unsafe fn init_port_config(&mut self) {

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#407: FILE: examples/rust/helloworld/src/main.rs:72:
+            rte_eth_dev_info_get(self.port_id, &mut self.dev_info as *mut rte_eth_dev_info)

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#407: FILE: examples/rust/helloworld/src/main.rs:72:
+            rte_eth_dev_info_get(self.port_id, &mut self.dev_info as *mut rte_eth_dev_info)

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#413: FILE: examples/rust/helloworld/src/main.rs:78:
+        self.dev_conf.rx_adv_conf.rss_conf.rss_key = std::ptr::null_mut();

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#426: FILE: examples/rust/helloworld/src/main.rs:91:
+    unsafe fn start_port(&mut self) {

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#427: FILE: examples/rust/helloworld/src/main.rs:92:
+        let mut rc = unsafe {

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#447: FILE: examples/rust/helloworld/src/main.rs:112:
+        let mbuf_pool: *mut dpdk::raw::rte_mbuf::rte_mempool = unsafe {

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#457: FILE: examples/rust/helloworld/src/main.rs:122:
+        if mbuf_pool == 0 as *mut dpdk::raw::rte_mbuf::rte_mempool {

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#462: FILE: examples/rust/helloworld/src/main.rs:127:
+        let mut rxq_conf: rte_eth_rxconf = self.dev_info.default_rxconf.clone();

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#470: FILE: examples/rust/helloworld/src/main.rs:135:
+                &mut rxq_conf as *mut rte_eth_rxconf,

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#470: FILE: examples/rust/helloworld/src/main.rs:135:
+                &mut rxq_conf as *mut rte_eth_rxconf,

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#471: FILE: examples/rust/helloworld/src/main.rs:136:
+                mbuf_pool as *mut dpdk::raw::rte_ethdev::rte_mempool,

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#487: FILE: examples/rust/helloworld/src/main.rs:152:
+    let mut port_id: DpdkPort = 0 as DpdkPort;

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#506: FILE: examples/rust/helloworld/src/main.rs:171:
+    let mut name_buf: [c_char; RTE_ETH_NAME_MAX_LEN as usize] =

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#511: FILE: examples/rust/helloworld/src/main.rs:176:
+        let _rc = rte_eth_dev_get_name_by_port(p.port_id, name_buf.as_mut_ptr());

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#525: FILE: examples/rust/helloworld/src/main.rs:190:
+    let mut argv: Vec<*mut c_char> = env::args()

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#525: FILE: examples/rust/helloworld/src/main.rs:190:
+    let mut argv: Vec<*mut c_char> = env::args()

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#529: FILE: examples/rust/helloworld/src/main.rs:194:
+    let rc = unsafe { rte_eal_init(env::args().len() as c_int, argv.as_mut_ptr()) };

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#536: FILE: examples/rust/helloworld/src/main.rs:201:
+    let mut ports: Vec<Port> = vec![];

WARNING:TYPO_SPELLING: 'mut' may be misspelled - perhaps 'must'?
#541: FILE: examples/rust/helloworld/src/main.rs:206:
+            let mut port = Port::new(port_id);

total: 0 errors, 28 warnings, 358 lines checked

  parent reply	other threads:[~2025-03-22 11:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250322105911.12378-1-getelson@nvidia.com>
2025-03-22 10:33 ` |SUCCESS| " qemudev
2025-03-22 10:38 ` qemudev
2025-03-22 11:00 ` checkpatch [this message]
2025-03-22 11:22 ` |SUCCESS| pw152525 [PATCH] [v4] " dpdklab
2025-03-22 11:28 ` |PENDING| " dpdklab
2025-03-22 11:42 ` |SUCCESS| " dpdklab
2025-03-22 11:44 ` dpdklab
2025-03-22 11:50 ` dpdklab
2025-03-22 11:52 ` dpdklab
2025-03-22 11:58 ` dpdklab
2025-03-22 11:59 ` dpdklab
2025-03-22 12:07 ` dpdklab
2025-03-22 12:07 ` dpdklab
2025-03-22 12:15 ` dpdklab
2025-03-22 12:18 ` dpdklab
2025-03-22 12:19 ` dpdklab
2025-03-22 12:23 ` |SUCCESS| pw152525 [PATCH v4] " 0-day Robot
2025-03-22 12:25 ` |SUCCESS| pw152525 [PATCH] [v4] " dpdklab
2025-03-22 12:27 ` dpdklab
2025-03-22 12:27 ` dpdklab
2025-03-22 12:28 ` dpdklab
2025-03-22 12:30 ` dpdklab
2025-03-22 12:50 ` dpdklab
2025-03-22 13:42 ` dpdklab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250322110059.6CF41127189@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=getelson@nvidia.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).