On Mon Jul 7, 2025 at 3:29 PM CEST, Andreas Hindborg wrote: > Add the trait `ParseInt` for parsing string representations of integers > where the string representations are optionally prefixed by a radix > specifier. Implement the trait for the primitive integer types. > > Tested-by: Daniel Gomez <da.gomez@xxxxxxxxxxx> > Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Suggested-by: Benno Lossin <benno.lossin@xxxxxxxxx> > Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx> Reviewed-by: Benno Lossin <lossin@xxxxxxxxxx> --- Cheers, Benno > --- > rust/kernel/str.rs | 2 + > rust/kernel/str/parse_int.rs | 148 +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 150 insertions(+)