From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2CF07465C2 for ; Fri, 18 Apr 2025 15:24:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 279C0402D2; Fri, 18 Apr 2025 15:24:45 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id D5E3040263 for ; Fri, 18 Apr 2025 15:24:43 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 85482123FAC; Fri, 18 Apr 2025 15:24:21 +0200 (CEST) Subject: |WARNING| pw153040 [PATCH 2/3] rust: split main into example, refactor to lib.rs In-Reply-To: <20250418132324.4085336-2-harry.van.haaren@intel.com> References: <20250418132324.4085336-2-harry.van.haaren@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Harry van Haaren Message-Id: <20250418132421.85482123FAC@dpdk.org> Date: Fri, 18 Apr 2025 15:24:21 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org 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