Re: [PATCH v4 1/7] rust: firmware: add request_into_buf()
Timur Tabi <[email protected]> Thu, 9 Jul 2026 22:46:25 +0000
| Newsgroups | dev.linux.lists.nova-gpu,dev.linux.lists.driver-core,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2026-07-09 at 16:39 -0500, Timur Tabi wrote:
> - error::Error,
> - error::Result,
> + error::*,
...
> + if buf.is_empty() {
> + return Err(crate::error::code::EINVAL);
> + }
Sorry, I just noticed that this is wrong. I'll fix it in v5.