Re: [PATCH v7 07/16] rust: add `io::{Io, IoRaw}` base types

2025-01-16 Thread Fiona Behrens
On 19 Dec 2024, at 18:04, Danilo Krummrich wrote: > I/O memory is typically either mapped through direct calls to ioremap() > or subsystem / bus specific ones such as pci_iomap(). > > Even though subsystem / bus specific functions to map I/O memory are > based on ioremap() / iounmap() it is not

Re: [PATCH v7 2/6] rust: str: implement `Index` for `BStr`

2025-02-24 Thread Fiona Behrens
: Andreas Hindborg Reviewed-by: Fiona Behrens > --- > rust/kernel/str.rs | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/rust/kernel/str.rs b/rust/kernel/str.rs > index 002dcddf7c768..ba6b1a5c4f99d 100644 > --- a/rust/kernel/str.rs > +++ b/rust/kernel

Re: [PATCH v8 1/7] rust: str: implement `PartialEq` for `BStr`

2025-03-04 Thread Fiona Behrens
Andreas Hindborg writes: > Implement `PartialEq` for `BStr` by comparing underlying byte slices. > > Reviewed-by: Alice Ryhl > Reviewed-by: Gary Guo > Reviewed-by: Daniel Almeida > Tested-by: Daniel Almeida > Signed-off-by: Andreas Hindborg Reviewed-by: Fiona Behrens

Re: [PATCH v8 3/7] rust: str: implement `AsRef` for `[u8]` and `BStr`

2025-03-04 Thread Fiona Behrens
Andreas Hindborg writes: > Implement `AsRef` for `[u8]` and `BStr` so these can be used > interchangeably for operations on `BStr`. > > Reviewed-by: Gary Guo > Tested-by: Daniel Almeida > Reviewed-by: Daniel Almeida > Signed-off-by: Andreas Hindborg Revie