"Alice Ryhl" <aliceryhl@xxxxxxxxxx> writes: > On Tue, Aug 12, 2025 at 10:44:33AM +0200, Andreas Hindborg wrote: >> rnull currently only supports direct completion. Add option for completing >> requests across CPU nodes via soft IRQ or IPI. >> >> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx> > >> + let text = core::str::from_utf8(page)?.trim(); >> + let value = text.parse::<u8>().map_err(|_| EINVAL)?; > > Same comment about kstrtobool here as on the other patch. This one does not parse a bool, it parses the `IRQMode` enum. I don't think we need to use kernel C integer parsing functions here, if that is what you suggest. Best regards, Andreas Hindborg