Re: [PATCH RFC 2/2] rust: usb: add control message send and receive
From: Greg Kroah-Hartman
Date: Sun Aug 02 2026 - 04:34:08 EST
On Sat, Aug 01, 2026 at 03:01:08AM +0300, Alexandru Radovici wrote:
> Add `Device::send_control_message()` and
> `Device::receive_control_message()`, wrapping usb_control_msg_send()
> and usb_control_msg_recv(), plus a `Request` type describing the
> bmRequestType, bRequest, wValue and wIndex fields of a setup packet.
Why not keep the names as close as possible to the C calls? You have
switched around the noun/verb use here.
thanks,
greg k-h