lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72mXF8SHRq3XJKpSEZWTCK8x8n8o9rCjPouc-SO7KvZKeQ@mail.gmail.com>
Date: Thu, 6 Feb 2025 16:58:15 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Alice Ryhl <aliceryhl@...gle.com>
Cc: Guangbo Cui <2407018371@...com>, daniel.almeida@...labora.com, a.hindborg@...nel.org, 
	alex.gaynor@...il.com, benno.lossin@...ton.me, bjorn3_gh@...tonmail.mco, 
	boqun.feng@...il.com, boris.brezillon@...labora.com, dakr@...nel.org, 
	gary@...yguo.net, gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org, 
	ojeda@...nel.org, rafael@...nel.org, robh@...nel.org, 
	rust-for-linux@...r.kernel.org, tmgross@...ch.edu
Subject: Re: [PATCH v6 2/3] rust: io: mem: add a generic iomem abstraction

On Thu, Feb 6, 2025 at 4:43 PM Alice Ryhl <aliceryhl@...gle.com> wrote:
>
> This compilation failure is correct. You're trying to use writeb even
> though the size is not known at compile time. You should use
> try_writeb instead.

Agreed, in the issue I replied that `ioremap_resource()` returns a
runtime-checked `IoMem`. Perhaps the `rust_build_error` part is being
confusing here.

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ