Re: [PATCH RFC 2/2] rust: usb: add control message send and receive

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
Hi Alexandru,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on 8ba098e6b6ff0db8edf28528d1552be261af30d4]

url:    https://github.com/intel-lab-lkp/linux/commits/Alexandru-Radovici/rust-usb-add-endpoint-abstraction/20260804-141353
base:   8ba098e6b6ff0db8edf28528d1552be261af30d4
patch link:    https://lore.kernel.org/r/20260801-rust-usb_control_msg-v1-2-655bb444b52c%40wyliodrin.com
patch subject: [PATCH RFC 2/2] rust: usb: add control message send and receive
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260810/[email protected]/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260810/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> warning: unresolved link to `Self::max_packet_mult`
   --> rust/kernel/usb/endpoint.rs:321:66
   |
   321 |     /// transactions per microframe, which [`max_packet_mult()`](Self::max_packet_mult)
   |                                                                  ^^^^^^^^^^^^^^^^^^^^^ the struct `HostEndpoint` has no field or associated item named `max_packet_mult`
--
>> warning: unresolved link to `Interface::current_alt_setting`
   --> rust/kernel/usb.rs:346:29
   |
   346 | /// active at a time; see [`Interface::current_alt_setting()`].
   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Interface` has no function named `current_alt_setting`
--
>> warning: unresolved link to `Endpoint::as_in`
   --> rust/kernel/usb.rs:391:11
   |
   391 |     /// [`Endpoint::as_in()`], [`Endpoint::as_out()`] and [`Endpoint::as_control()`].
   |           ^^^^^^^^^^^^^^^^^ no item named `Endpoint` in scope
--
>> warning: unresolved link to `Endpoint::as_out`
   --> rust/kernel/usb.rs:391:34
   |
   391 |     /// [`Endpoint::as_in()`], [`Endpoint::as_out()`] and [`Endpoint::as_control()`].
   |                                  ^^^^^^^^^^^^^^^^^^ no item named `Endpoint` in scope
--
>> warning: unresolved link to `Endpoint::as_control`
   --> rust/kernel/usb.rs:391:61
   |
   391 |     /// [`Endpoint::as_in()`], [`Endpoint::as_out()`] and [`Endpoint::as_control()`].
   |                                                             ^^^^^^^^^^^^^^^^^^^^^^ no item named `Endpoint` in scope

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.